Support the ongoing development of →
Spark Configuration Views
Last updated 1 year ago.

npm run watch


-> normykins is correct. Running npm run watch should compile your assets when you save a file like scss or js.

You should consider installing these via your npm

        "browser-sync": "^2.24.4",
        "browser-sync-webpack-plugin": "^2.0.1",

then in your webpack.mix.js you can add a line.


this will trigger a browser refresh when you save a file


Thank you guys, that's exactly what I needed !


@shimabukuro did you get it all setup with browser reloading?

I noticed it may come out of the box with 5.6 / 5.7


@Cameron Yes it was already setup in spark. I just had to run npm run watch.


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

shimabukuro shimabuk Joined 20 Sep 2018


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.