You must run "gulp" or "gulp watch".
Jan 13, 2017
6
Level 1
Laravel mix
Hi,
After a little amount of time. I discoverd that the new Laravel mix doesn't work out of the box.
The problem which I ran up to is when I do: npm run hmr the node server is created. But when I make a sass change; for example I make the body red instead of blue the browser isn't refreshing. What do I wrong?
Level 1
@WebKenth I have it working now with hrm after a long search on the web. I discovered that u need to replace the sass module inside webpack.config.js on line 123 with this:
module.exports.module.rules.push({ test: /\.scss$/, loader: 'style-loader!css-loader?sourceMap!sass-loader?sourceMap&sourceComments' });
Please or to participate in this conversation.