Simple tricks for working with Laravel Mix
Problems
- Start PHP development server or (
artisan serve
) along sidewebpack-dev-server
in single command - Serve static files inside
storage/app/public
without creating symlink topublic
directory
Solution
- Use node
child_process
to spawnartisan serve
command while starting webpack-dev-server