chore: fix restart when updating frontend files

This commit is contained in:
Alexander Navarro 2025-02-26 05:13:12 -03:00
parent e59ae1f31c
commit 56a9c7bd40
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@ docker-compose +ARGS:
start-dev-services: (docker-compose "up --remove-orphans") start-dev-services: (docker-compose "up --remove-orphans")
dev: dev:
watchexec --restart --clear --watch src --watch dist cargo run watchexec --no-vcs-ignore --clear --restart --watch=dist --watch=src cargo run
migrate: (docker-compose "run dbmate migrate") migrate: (docker-compose "run dbmate migrate")

View file

@ -6,6 +6,7 @@
<button class="msp-btn-sm" hx-get="/" hx-target="#example-table">Refresh</button> <button class="msp-btn-sm" hx-get="/" hx-target="#example-table">Refresh</button>
</div> </div>
<h1>Axum example! 1</h1>
{% block htmx %} {% block htmx %}
<table id="example-table"> <table id="example-table">