Skip to content

Commit

Permalink
add module reload support
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellee1019 committed Jan 22, 2025
1 parent 777de25 commit 89dcbda
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions reload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

# bash safe mode. look at `set --help` to see what these are doing
set -euxo pipefail

cd $(dirname $0)
source .env
./setup.sh

# Be sure to use `exec` so that termination signals reach the python process,
# or handle forwarding termination signals manually
exec $PYTHON models.py $@

0 comments on commit 89dcbda

Please sign in to comment.