webpack only run in watch mode code example Example: watch file in changes in webpack --watch --watch-poll