yocmen's avatar

How work with hot reaload with laravel-elixir-webpack-react?

Hi, i want to know how work with hot realoding with laravel-elixir-webpack-react.

Every time i want to test new code (react or css) i need to go to the console and write..gulp...wait to compile...and test... please can anyone help me to improve this flow? thanks.

0 likes
2 replies
wilburpowery's avatar

Have you tried gulp watch? You can run that instead of just running gulp.

yocmen's avatar

yes, is not worked for me, if i make a change on phpstorm suddenly fire an error like

internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

and lost all css and js on the page.... then i need to run again gulp.

Please or to participate in this conversation.