-
Notifications
You must be signed in to change notification settings - Fork 115
Fix/207 linux hot reloading #223
Fix/207 linux hot reloading #223
Conversation
src/supervisor/worker.js
Outdated
} | ||
} | ||
} | ||
if (localdir && message.watch) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change this conditional? Reloading the function while in debug mode will break whatever debugging the user is doing if a file changes while they're debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing! I think I wanted to test/debug the block of code, removed the conditional and then forgot to add it back (as you do 😆) - good catch.
Umm... does it normally take more than a month for CircleCI checks to complete? 😅 |
Any update here? |
any idea when this fix is coming to the latest npm packge ?? |
Still a couple failing tests after the dependency upgrades, stay tuned... |
Fixes #207 (hopefully)
Using
chokidar
for file watching in the worker which fixes hot reloading on Linux.