Skip to content

Commit d83b8ad

Browse files
author
Rizal Fauzie
committed
fix restart issue
1 parent 6941e97 commit d83b8ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/start.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ if [[ "$LARAVEL_ECHO_SERVER_DEBUG" == true ]]; then
8080
fi
8181

8282
# Start the server
83-
if [[ ! -f "laravel-echo-server.lock" ]]; then
84-
laravel-echo-server start
83+
if [[ -f "laravel-echo-server.lock" ]]; then
84+
rm laravel-echo-server.lock
8585
fi
86+
laravel-echo-server start
8687

8788
exec "$@"

0 commit comments

Comments
 (0)