Skip to content

Commit b0829e6

Browse files
author
Tom Softreck
committed
update
1 parent e16031b commit b0829e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ start:
101101
# Stop the WebTask server
102102
stop:
103103
@echo "Stopping WebTask server on port $(PORT)..."
104-
@-pkill -f "webtask --host $(HOST) --port $(PORT)" || echo "No WebTask server found running on port $(PORT)"
104+
@-pkill -f "python.*webtask.*--host $(HOST).*--port $(PORT)" || echo "No WebTask server found running on port $(PORT)"
105+
@-pkill -f "webtask.*--host $(HOST).*--port $(PORT)" || true
105106

106107
# Restart the WebTask server
107108
restart: stop start

0 commit comments

Comments
 (0)