What does "npm run watch" actually do?

Bruce Gust
Bruce Gust used Ask the Experts™
I'm going through this tutorial: https://www.youtube.com/watch?v=DJ6PD_jBtU0

At one point the moderator says to run "npm run watch" and he gives a brief explanation as to what it is, but I still found myself scratching my head as to what it actually does. I went out online and didn't find a whole lot.

What does "npm run watch" actually do?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
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.


Bruce GustPHP Developer



I get it!


I've got another question, however. Head out to https://www.experts-exchange.com/questions/29165728/Why-can't-I-see-my-changes-in-this-Laravel-app.html#questionAdd and feel free to weigh in...!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial