Detect hot reload crash and notify user of workaround
Handle grpc error during hot reload request
Detect "Unable to use class...which is not loaded yet" from monarch-app stderr
Notify user of workaround
Use latest versions of package monarch_grpc, monarch_definitions
Since the workaround is to do hot-restart instead of hot-reload, this PR fixes #56 (hot restart on Windows).
Fix hot restart (on Windows)
The Window file system doesn't let us copy the new bundle while it is still open in the preview window. Thus, this PR closes the preview window before re-bundling. After the bundling is done, it will re-open the preview window with the new bundle.
Implemented willRestartPreview so Windows C++ code can cleanly close preview window before we bundle
Changed restartPreview to handle the new process
Required changes to cli, monarch_definitions, monarch_grpc, windows, preview_api
Inform user that preview window will re-open
Published new versions of packages monarch_definitions and monarch_grpc to support willRestartPreview flow.
Detect hot reload crash and notify user of workaround
Since the workaround is to do hot-restart instead of hot-reload, this PR fixes #56 (hot restart on Windows).
Fix hot restart (on Windows)
The Window file system doesn't let us copy the new bundle while it is still open in the preview window. Thus, this PR closes the preview window before re-bundling. After the bundling is done, it will re-open the preview window with the new bundle.