To reload the website every time you make changes to the source code, follow the following steps:-
- Install NPM packages into the project root
npm install
-
Run
php artisan serve
to start PHP server -
Run BrowserSync Livereload Server with Laravel Mix
npm run watch
- Visit http://127.0.0.1:3000