Skip to content
Advertisement

Laravel npm run watch not compile in runtime scss and js

Hi I have issue with new laravel project. I know it should be autocompile scss and js after command npm run watch. But it not recognized any changes and i don t know why.

My webpack.mix.js looks like this:

JavaScript

For compiling a changes i have to put every time npm run watch. Please if you know why let me know.

JavaScript

But this never changed in runtime….

Advertisement

Answer

Oh I run npm run watch on homestead server… When i try it in local enviroment it works fine. This is solution

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement