add npm run watch to webpack code example Example: watch file in changes in webpack --watch --watch-poll