Skip to content

Commit 66a753c

Browse files
committed
update Makefile to gracefully kill the dashboard process using lsof
1 parent 5e23d26 commit 66a753c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ kill-locald:
2727

2828
# kill any running dashboard process
2929
kill-dashboardd:
30-
kill -9 $(shell ps aux | grep dashboard/app.py | grep -v grep | awk '{print $$2}')
30+
kill $(shell ps aux | grep dashboard/app.py | grep -v grep | awk '{print $$2}') $(shell lsof -ti :5003)
3131

3232
# list any running dagster process
3333
ps-locald:

0 commit comments

Comments
 (0)