Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
olebedev committed Apr 29, 2016
1 parent 267f532 commit 1641057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ kill:
serve: $(ON) $(GO_BINDATA) clean $(BUNDLE) restart
@BABEL_ENV=dev node hot.proxy &
@$(NODE_BIN)/webpack --watch &
@on -m 2 $(GO_FILES) $(TEMPLATES) | xargs -n1 -I{} make restart || make kill
@$(ON) -m 2 $(GO_FILES) $(TEMPLATES) | xargs -n1 -I{} make restart || make kill

restart: BINDATA_FLAGS += -debug
restart: LDFLAGS += -X main.debug=true
Expand All @@ -49,7 +49,7 @@ restart: $(BINDATA) kill $(TARGET)
@$(TARGET) run & echo $$! > $(PID)

$(BINDATA):
$(BIN)/go-bindata $(BINDATA_FLAGS) -o=$@ server/data/...
$(GO_BINDATA) $(BINDATA_FLAGS) -o=$@ server/data/...

lint:
@eslint client || true
Expand Down

0 comments on commit 1641057

Please sign in to comment.