i want the server to be running even wen i ligged out from the session.
When i was using ubuntu server "sudo nohup php artisan serve --host xx.xx.xx --port=8080 &" was doing it for me. But in windows how can i do it? is there any commands?
if you want to keep the server running just open up a command line for windows type in php artisan serve and leave the command line open for linux it would be the same just use sudo before the command also make sure before running the command you navigate to your project root folder.
if i close the terminal . php artisan serve wont be running.
But when i was using ubuntu server 'sudo nohup php artisan serve --host xx.xx.xx --port=8080 &' command will run the php artisen serve even if i close the terminal