https://dev.to/ilham_s if you want to auto reload the page every time your project file change you can use browserSync #prerequisite Prerequisite in this method you must already have laravel project and install and use laravel-mix #install-browsersync-and-browsersync-weback-plugin Install browserSync and browserSync web[ack plugin npm install browser-sync browser-sync-webpack-plugin --save-dev Enter fullscreen mode Exit fullscreen mode #add-following-code-to-webpackmixjs add following code to webpack.mix.js mix.browserSync('127.0.0.1:8000'); Exit fullscreen mode #then-you-can-watch-your-project then you can watch your project watch your project with npm run watch (mix watch)
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners