From 066ca8b19e68d0b1f8fe737d38581df17fcef3e8 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Mon, 28 Oct 2019 10:29:39 -0400 Subject: [PATCH] update makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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