- Start PHP development server or (
artisan serve) along sidewebpack-dev-serverin single command - Serve static files inside
storage/app/publicwithout creating symlink topublicdirectory
- Use node
child_processto spawnartisan servecommand while starting webpack-dev-server - Use browser-sync's
staticServeoptions
Simply run
$ npm run hot
and then visi http://localhost:3000 we'll see our development server is running seemlessly.
- Laravel development server running at port 8000
- BrowserSync proxy server running at port 3000
- Webpack Dev Server for Hot Module Replacement running at port 8080