I found another way to do this thing efficiently, I first build the project using
npm run build
after building this i only run artisan cmd to run on local network
php artisan serve --host 0.0.0.0