write 'start' script for dev using entr (pulp watcher doesn't do well with recursive watch in nested dirs

This commit is contained in:
KtorZ 2017-06-29 11:23:05 +02:00
parent 85e6e996fd
commit 607929ce98
No known key found for this signature in database
GPG Key ID: 3F72E8BC2894C015

View File

@ -8,7 +8,8 @@
"test:run": "karma start --single-run", "test:run": "karma start --single-run",
"test": "npm run test:build && npm run test:run", "test": "npm run test:build && npm run test:run",
"build": "pulp browserify -j 4 -O --to dist/bundle.js", "build": "pulp browserify -j 4 -O --to dist/bundle.js",
"start": "pulp -w browserify -j 4 -O --to dist/bundle.js" "start": "find . -type f -regex .*purs | entr -s 'clear; pulp browserify -j 4 -t dist/bundle.js'",
"start:test": "karma start"
}, },
"dependencies": { "dependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",