mirror of
https://github.com/thomiceli/opengist.git
synced 2025-01-03 16:22:40 +00:00
chore: use npx (#66)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
0936cbc455
commit
98c5cd1794
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -13,7 +13,7 @@ install:
|
||||||
|
|
||||||
build_frontend:
|
build_frontend:
|
||||||
@echo "Building frontend assets..."
|
@echo "Building frontend assets..."
|
||||||
./node_modules/.bin/vite build
|
npx vite build
|
||||||
|
|
||||||
build_backend:
|
build_backend:
|
||||||
@echo "Building Opengist binary..."
|
@echo "Building Opengist binary..."
|
||||||
|
@ -27,11 +27,11 @@ build_docker:
|
||||||
|
|
||||||
watch_frontend:
|
watch_frontend:
|
||||||
@echo "Building frontend assets..."
|
@echo "Building frontend assets..."
|
||||||
./node_modules/.bin/vite dev --port 16157
|
npx vite dev --port 16157
|
||||||
|
|
||||||
watch_backend:
|
watch_backend:
|
||||||
@echo "Building Opengist binary..."
|
@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:
|
watch:
|
||||||
@bash ./watch.sh
|
@bash ./watch.sh
|
||||||
|
|
Loading…
Reference in a new issue