Skip to content

Commit c24ac10

Browse files
committed
Clear screen before running service and don't reload the uvicorn server
1 parent 70eb418 commit c24ac10

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nlds_utils/nlds-up

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ else
3131
source $NLDS_VENV/bin/activate
3232
fi
3333

34+
clear
35+
3436
if [ $1 = 'nlds_q' ]; then
3537
$USER_CMD nlds_q
3638
elif [ $1 = 'catalog_q' ]; then
@@ -52,7 +54,7 @@ elif [ $1 = 'archive_get_q' ]; then
5254
elif [ $1 = 'archive_next' ]; then
5355
$USER_CMD send_archive_next
5456
elif [ $1 = 'nlds-api' ]; then
55-
$USER_CMD uvicorn nlds.main:nlds --reload --log-level=trace --port=8000
57+
$USER_CMD uvicorn nlds.main:nlds --log-level=trace --port=8000
5658
fi
5759

5860
deactivate

0 commit comments

Comments
 (0)