javascript - Caching issue with webpack-dev-server -
i'm having issues when running webpack-dev-server. whenever save file, , changes compiled, not being reflected in browser. (no errors in command line)
i'm running following command:
webpack-dev-server --progress --color
however, if run webpack
every time have change, reflected in browser.
i run chrome on mac (latest v. of osx), , i've enabled "disable cache while devtools open" option. needless say, hey - never know, have devtools open.. :)
am missing simple step here?
i had same problem , using dist/app.js
file in html , not app.js
generated webpack-dev-server.
using in html solved issue:
<script src="vendor.js"></script> <script src="app.js"></script>
Comments
Post a Comment