Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm run watch-poll

difference-between-npm-run-watch-and-npm-run-watch-poll

watch will listen for file changes, however, on certain systems this won't always work.

watch-poll periodically checks (polls) for changes e.g. every 1000ms it will manually check to see if any files have changed.
 
PREVIOUS NEXT
Tagged: #npm #run
ADD COMMENT
Topic
Name
6+8 =