Watch mode is failing
See original GitHub issueDescribe the issue The watch mode on Elyra fails to pick up code changes
To Reproduce Steps to reproduce the behavior:
- build from master with
make clean install
- run
make watch
- On another terminal, run
jupyter lab --watch
- make any change to one of the ts files and save it
- check the terminal running
make watch
for file change detection msg and make sure there are no compilation errors - reload jupyterlab page and try to access your code change
- The page doesn’t pick up the changes (eg. inspecting the file still shows the original code version)
- Check for errors on the serverapp
Screenshots or log output
Error log
/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/@jupyterlab/builder/lib/webpack-plugins.js:93 const dirTimestamps = watcher.getContextInfoEntries(); ^ TypeError: watcher.getContextInfoEntries is not a function at Object.getContextTimeInfoEntries (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/@jupyterlab/builder/lib/webpack-plugins.js:93:51) at run (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Watching.js:94:48) at /Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Watching.js:75:6 at /Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/HookWebpackError.js:69:3 at Hook.eval [as callAsync] (eval at create (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1) at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14) at Cache.endIdle (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Cache.js:140:22) at run (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Watching.js:72:32) at Watching._go (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Watching.js:152:3) at Watching._invalidate (/Users/kspuldaro/miniconda3/envs/dev/share/jupyter/lab/staging/node_modules/webpack/lib/Watching.js:320:9) error Command failed with exit code 1.
Expected behavior When running jupyterlab in watch mode, it should pick up code changes on page reload
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Failed to start Watchman watch mode - react native
To have watchman in windows do the following: (1)Download watchman zip file from the link here (2) Unzip the folder
Read more >Error: Failed to start watch mode · Issue #31186 - GitHub
and suddenly there is an error in the CLI console which is as follows. Failed to construct transformer: Error: Failed to start watch...
Read more >Error: Failed to start watch mode - Expo Development Tools
Error: Failed to start watch mode. at Timeout._onTimeout (C:\Users\ATEH\Desktop\app\prime\node_modules\jest-haste-map\build\index.js:1059:24)
Read more >If you can't pair an Apple Watch with your iPhone
If you have its paired iPhone, unpair your Apple Watch. Open the Watch app on your iPhone, tap the My Watch tab, then...
Read more >Garmin Connect App: Pairing Failed Message When Adding a ...
A "Pairing Failed" message (sometimes followed by "Setup was not successful" or "Unable to pair your Garmin device") when trying to add your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is now published in JLab 3.0.10.
thanks for the quick patch release, tested it and it works