Fix devenv and justfile client running logic
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
processes = {
|
processes = {
|
||||||
vite = {
|
vite = {
|
||||||
exec = "bun run dev";
|
exec = "pnpm run dev";
|
||||||
cwd = "./client";
|
cwd = "./client";
|
||||||
};
|
};
|
||||||
backend.exec = "just watch-back";
|
backend.exec = "just watch-back";
|
||||||
|
|||||||
2
justfile
2
justfile
@@ -36,7 +36,7 @@ test-back:
|
|||||||
watch-back: clean
|
watch-back: clean
|
||||||
watchexec -r -e go,yaml,tpl -i '.devenv/**' -i '.direnv/**' -i 'client/**' -i 'vendor/**' 'go build -o {{ join(output_dir, "nixcn-cms") }} . && cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} {{ exec_path }}'
|
watchexec -r -e go,yaml,tpl -i '.devenv/**' -i '.direnv/**' -i 'client/**' -i 'vendor/**' 'go build -o {{ join(output_dir, "nixcn-cms") }} . && cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} {{ exec_path }}'
|
||||||
|
|
||||||
dev:
|
dev: clean install
|
||||||
devenv up --verbose
|
devenv up --verbose
|
||||||
|
|
||||||
dev-back:
|
dev-back:
|
||||||
|
|||||||
Reference in New Issue
Block a user