Fix(frames): Make sure main process has access to Rx
This commit is contained in:
@ -69,6 +69,7 @@ function frameMain({ build, source } = {}, document, proxyLogger$) {
|
|||||||
const { frame: main, frameWindow } = getFrameDocument(document);
|
const { frame: main, frameWindow } = getFrameDocument(document);
|
||||||
refreshFrame(main);
|
refreshFrame(main);
|
||||||
buildProxyConsole(frameWindow, proxyLogger$);
|
buildProxyConsole(frameWindow, proxyLogger$);
|
||||||
|
main.Rx = Rx;
|
||||||
main.open();
|
main.open();
|
||||||
main.write(createHeader() + proxyConsole(build, source));
|
main.write(createHeader() + proxyConsole(build, source));
|
||||||
main.close();
|
main.close();
|
||||||
|
Reference in New Issue
Block a user