Created by: gaearon
Partially fixes #186 (closed). I’m open to other solutions that don’t involve watching the whole node_modules
or writing custom plugins.
I think this is a step in the right direction because at least you don’t have to restart for the watcher to pick up the changes, you just have to npm install --save
.
This won’t help pick up updates you make by changing package.json
and then running npm install
, but they didn’t work anyway (you currently have to restart).
If there is a cheap way to watch for any changes to node_modules
and purge the cache, we should probably do that instead.