npm run watch for webpack config code example Example: watch file in changes in webpack --watch --watch-poll