Laravel-mix: npm run hot

Created on 4 Feb 2017  路  2Comments  路  Source: JeffreyWay/laravel-mix

I have followed the documentation in here

I could setup well, when I change any .vue file the browser is refreshed. However, when I change .scss file the browser doen't refresh itself.

I can see in the console some logs like so

[WDS] Hot Module Replacement enabled.

2app.js:23940 [WDS] App updated. Recompiling...
app.js:23940 [WDS] App hot update...

however the page is not being refreshed with .scss changes.

Any idea?

Most helpful comment

.scss files aren't included right now with HMR. It would only apply to Sass that you add directly to your .vue file.

All 2 comments

.scss files aren't included right now with HMR. It would only apply to Sass that you add directly to your .vue file.

I would appreciate if this topic is updated once HMR supports .scss files to be auto updated. tks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bomavi picture Bomavi  路  3Comments

terion-name picture terion-name  路  3Comments

jpriceonline picture jpriceonline  路  3Comments

jpmurray picture jpmurray  路  3Comments

amin101 picture amin101  路  3Comments