chore: kill port before starting dev

This commit is contained in:
Phan An 2022-04-29 22:19:18 +02:00
parent c156e7342b
commit 7c1e6e7e76
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -96,7 +96,7 @@
"test:e2e:ci": "kill-port 8080 && start-test 'php artisan serve --port=8080 --quiet' http-get://localhost:8080/api/ping 'cypress run'",
"build": "yarn prod",
"build-demo": "cross-env KOEL_ENV=demo mix --production",
"dev": "start-test 'php artisan serve --port=8000 --quiet' http-get://localhost:8000/api/ping hot",
"dev": "kill-port 8080 && start-test 'php artisan serve --port=8000 --quiet' http-get://localhost:8000/api/ping hot",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",