Skip to content

Commit

Permalink
only watch /redash in order to avoid reloading on other file changes …
Browse files Browse the repository at this point in the history
…(e.g. tests)
  • Loading branch information
Omer Lachish committed Jun 13, 2019
1 parent 657d54e commit efef063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ scheduler() {
QUEUES=${QUEUES:-celery}
SCHEDULE_DB=${SCHEDULE_DB:-celerybeat-schedule}
if [[ -n "$AUTO_RELOAD" ]]; then
WATCHER="watchmedo auto-restart --directory=./ --pattern=*.py --recursive --"
WATCHER="watchmedo auto-restart --directory=./redash/ --pattern=*.py --recursive --"
fi

echo "Starting scheduler and $WORKERS_COUNT workers for queues: $QUEUES..."
Expand Down

0 comments on commit efef063

Please sign in to comment.