diff --git a/Makefile b/Makefile index 1772f11..92d3aaa 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,16 @@ +frontend-deps: frontend/node_modules + cd frontend && yarn + build: *.go frontend go build -frontend: +frontend: frontend-deps cd frontend && yarn build --mode development frontend-watch: cd frontend && yarn build --watch run: *.go - ./happy -develop + go build && ./happy -develop .PHONY: run frontend frontend-watch