laravel-websockets
laravel-websockets copied to clipboard
Question - Disable output entirely
Websockets server is nice but this produces too much output.
There are exist some option to disable the process output?
I searched but I didn't find any good solution. But you can redirect output to /dev/null file.
php artisan websockets:serve >/dev/null 2>&1
If you're using foreverjs then you can use this command:
forever -a -s --uid "ws-server" start -c php artisan websockets:serve --host=127.0.0.1 --port=16000
The -s parameters means silent mode in forever.