Makefile: Fix watch dependencies
Unbreak `make watch` from a clean tree by ensuring that node_modules/ and pkg/lib exist.
This commit is contained in:
parent
4bc3de6d5d
commit
6ab10901a4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -84,7 +84,7 @@ $(SPEC): packaging/$(SPEC).in $(NODE_MODULES_TEST)
|
||||||
$(DIST_TEST): $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP) $(shell find src/ -type f) package.json build.js
|
$(DIST_TEST): $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP) $(shell find src/ -type f) package.json build.js
|
||||||
NODE_ENV=$(NODE_ENV) ./build.js
|
NODE_ENV=$(NODE_ENV) ./build.js
|
||||||
|
|
||||||
watch:
|
watch: $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP)
|
||||||
NODE_ENV=$(NODE_ENV) npm run watch
|
NODE_ENV=$(NODE_ENV) npm run watch
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue