From 98c5cd179488ce1e30f9a348446e4bc155731b26 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Wed, 21 Jun 2023 11:18:07 -0500 Subject: [PATCH] chore: use npx (#66) Signed-off-by: jolheiser --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c71efac..447a075 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ install: build_frontend: @echo "Building frontend assets..." - ./node_modules/.bin/vite build + npx vite build build_backend: @echo "Building Opengist binary..." @@ -27,11 +27,11 @@ build_docker: watch_frontend: @echo "Building frontend assets..." - ./node_modules/.bin/vite dev --port 16157 + npx vite dev --port 16157 watch_backend: @echo "Building Opengist binary..." - OG_DEV=1 ./node_modules/.bin/nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml' + OG_DEV=1 npx nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml' watch: @bash ./watch.sh