Add npm watch command.

This one uses uncut output for tighter build loop.
master
Alexander Bondarenko 2016-01-20 20:24:48 +03:00
parent 7af4c7091c
commit 9795baaf0c
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
"private": true, "private": true,
"scripts": { "scripts": {
"postinstall": "pulp dep install", "postinstall": "pulp dep install",
"build": "pulp browserify --optimise --to dist/app.js" "build": "pulp browserify --optimise --to dist/app.js",
"watch": "pulp -w browserify --to dist/app.js"
}, },
"dependencies": { "dependencies": {
"virtual-dom": "^2.1.1" "virtual-dom": "^2.1.1"