0👍
What you are saying is true and it was meant to be that way.
But you can use a library that comes withlaravel
to accomplish that. first.
add .browserSync();
to your webpack.mix.js
instead of npm run dev
use npm run watch
. This will help you not to refresh.
and that is how you have the same effect. Hope its not much.
Source:stackexchange.com