Cached modules when using --watch mode
Opened this issue · 2 comments
snaptopixel commented
I'm having issues with watch mode, when I edit a module (used in a test) the tests run but the updated module code is not executed. Changes inside the test files are reflected but it seems like modules are cached?
Here's a gist with the relevant config files:
https://gist.github.com/snaptopixel/f0a3d88995596291e18985947597d44a
snaptopixel commented
I thought I had fixed it but not so, reopening
snaptopixel commented
@zinserjan I'm happy to take a look into this myself and submit a PR if you could point me in the right direction. I've looked through the watch compiler etc but I don't know exactly what to look for. I've also tried clearing the Node require cache to no avail :(