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:
Martin Pitt 2023-05-04 05:11:25 +02:00 committed by Katerina Koukiou
parent 4bc3de6d5d
commit 6ab10901a4

View file

@ -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
NODE_ENV=$(NODE_ENV) ./build.js
watch:
watch: $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP)
NODE_ENV=$(NODE_ENV) npm run watch
clean: