webpack --watch --mode=development code example Example: watch file in changes in webpack --watch --watch-poll