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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -