diff --git a/.justfile b/.justfile index a2937eb..93db81c 100644 --- a/.justfile +++ b/.justfile @@ -10,7 +10,7 @@ docker-compose +ARGS: start-dev-services: (docker-compose "up --remove-orphans") 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") diff --git a/build.rs b/build.rs index 99c7b3a..c37742a 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,5 @@ fn main() { // only enable in production build #[cfg(not(debug_assertions))] - minijinja_embed::embed_templates!("templates"); + minijinja_embed::embed_templates!("dist"); } diff --git a/frontend/templates/index.html b/frontend/templates/index.html index c7591f0..9137d3f 100644 --- a/frontend/templates/index.html +++ b/frontend/templates/index.html @@ -6,6 +6,7 @@ +