Skip to content

Commit 172f843

Browse files
committed
Add watch task to Makefile
1 parent a8935ac commit 172f843

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ compile:
2020
build: compile shasum
2121

2222
publish: build
23-
cp -r dist docs/assets/
23+
@cp -r dist docs/assets/
2424

2525
shasum:
2626
@shasum -a256 dist/*
2727

28+
watch:
29+
@./node_modules/.bin/watch "make build publish" ./src
30+
2831
run:
2932
cd docs/ && bundle exec jekyll serve

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"karma-phantomjs-launcher": "^1.0.2",
4444
"karma-sourcemap-loader": "^0.3.7",
4545
"uglify-js": "^2.7.3",
46-
"watchify": "^3.7.0"
46+
"watch": "^1.0.1"
4747
},
4848
"browserify": {
4949
"transform": [

0 commit comments

Comments
 (0)