There are many packages for restarting a process when files change. But what about terminating when a file changes? E.g., if our package.json changes, the whole watcher tree should die. What's the equivalent of onchange, but "run until one of these files changes, then die"?
-
Show this thread
-
Replying to @garybernhardt
you can use entr, but its a unix tool, not a npm thingie
1 reply 0 retweets 2 likes -
Replying to @garybernhardt @cuddle_lord
Can you use `entr -r`
3:38 PM - 5 Sep 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.