Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-04-03 16:15:35 +02:00
parent c3b0d09e04
commit c92cbd7e22
5 changed files with 251 additions and 3 deletions

View File

@ -49,7 +49,7 @@ class Command(BaseCommand):
):
executable_name = "dramatiq-gevent" if use_gevent else "dramatiq"
executable_path = self._resolve_executable(executable_name)
watch_args = ["--watch", "."] if use_watcher or settings.DEBUG else []
watch_args = ["--watch", "."] if use_watcher else []
if watch_args and use_polling_watcher:
watch_args.append("--watch-use-polling")