Skip to content

Commit

Permalink
add support for django-tailwin to the work command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-De committed Oct 17, 2024
1 parent 393ae0f commit 1c1a237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/falco/management/commands/work.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def handle(self, *_, **options):
commands = {"runserver": "django-admin runserver {address}" + settings_flag}
if "django_tailwind_cli" in settings.INSTALLED_APPS:
commands["tailwind"] = f"django-admin tailwind {settings_flag} watch"
# TODO: detect also django-tailwind
if "tailwind" in settings.INSTALLED_APPS:
commands["tailwind"] = f"django-admin tailwind {settings_flag} start"
if "django_q" in settings.INSTALLED_APPS:
commands["qcluster"] = f"django-admin qcluster {settings_flag}"

Expand Down

0 comments on commit 1c1a237

Please sign in to comment.