diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-29 15:18:23 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-29 15:18:23 +0200 |
commit | 14ce1445b1ba24e6a16646302167b2aeb7d4fff6 (patch) | |
tree | 2854f95a874c5c9958112ecdb4f973b89ed72193 /Makefile | |
parent | c8e70c43ebbc1ad249aa1a40c2d522a93ce427fa (diff) |
Add watch to makefile, fix watch and kill coffeescript
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -171,3 +171,13 @@ else phpunit -c phpunit.xml --coverage-clover build/php-unit.clover phpunit -c phpunit.integration.xml --coverage-clover build/php-unit.clover endif + +# watch out for changes and rebuild +.PHONY: watch +watch: +ifneq (,$(wildcard $(CURDIR)/js/package.json)) + cd js && $(npm) run watch +endif +ifneq (,$(wildcard $(CURDIR)/package.json)) + $(npm) run watch +endif |