If your webpack is always generating js and css files together you could set FAQ Webpack always generates js and css together If you set key, cert, or pfx options, they'll get passed through to You want assets served by your app server, but still want reloads This project aims to solve the case where ![]() Yes, there's already webpack-dev-server that handles live reloadingĪnd more complex scenarios. For example if color has changed from #000000 to #ffffff no reload will be triggered!) If file size hasn't changed no reload is triggered. useSourceSize - (Default: false) check size for each file source and only notify livereload if size has changed (Faster than useSourceHash but it has a downside.useSourceHash - (Default: false) create hash for each file source and only notify livereload if hash has changed.delay - (Default: 0) amount of milliseconds by which to delay the live reload (in case build takes longer).It is also possible to define an array and use multiple anymatch patterns. ignore - (Default: null) RegExp of files to ignore.appendScriptTag - (Default: false) Append livereload.hostname - (Default: hostname of the page, like localhost or 10.0.2.2) The desired hostname for the appended.If you define port 0, an available port will be searched for, starting from 35729. port - (Default: 35729) The desired port for the livereload server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |