Skip to main content

Dev Server & Queue Worker

LaraEnv can run two long-lived background processes per project, controlled directly from the Projects UI: a dev server and a Laravel queue worker. Both keep running in the background and you start, stop, and inspect them from the project's controls.

Dev server

  • Start / Stop runs npm run dev — or your custom dev command — for the project.
  • View the dev server's live logs as it runs.

Combine the dev server with a project proxy port so the framework's dev server (Vite, Next.js, Nuxt, and so on) is served at the nice .test domain instead of a raw localhost port. See Node.js versions for picking the Node version it runs under.

tip

Set the proxy port and custom dev command together in the project's configuration for a one-click dev workflow at https://<name>.test.

Queue worker

For a Laravel project, LaraEnv manages php artisan queue:work:

  • Start / Stop / Restart the worker.
  • Optionally pass custom args, e.g. --queue=default --tries=3.
  • View the worker's logs.

The args you set are remembered per project, so the next start reuses them.

note

For scheduled artisan tasks (schedule:run), use the cron scheduler instead — see Cron tasks.