14 lines
238 B
Bash
Executable File
14 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# script/dev_queue: Run the queue with entr if available
|
|
|
|
set -e
|
|
|
|
WORKER="pipenv run celery -A celery_worker.celery worker --loglevel=info -B"
|
|
|
|
if [[ `command -v entr` ]]; then
|
|
find atst | entr -r $WORKER
|
|
else
|
|
$WORKER
|
|
fi
|