npm run serve watch poll code example
Example: 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.