Skip to content

Commit

Permalink
Add actual watch script (#4738)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor authored May 22, 2020
1 parent b278fa6 commit 7fbbe79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
"scripts": {
"bower": "bower install",
"build": "python setup.py js css",
"build:watch": "set -e; while true; do npm run build; sleep 3; done"
"build:watch": "npm run watch",
"watch": "onchange 'notebook/static/**/!(*.min).js' 'notebook/static/**/*.less' 'bower.json' -- npm run build"
},
"devDependencies": {
"bower": "^1.8.8",
"less": "~2",
"onchange": "^6.0.0",
"po2json": "^0.4.5",
"requirejs": "^2.3.6"
},
Expand Down

0 comments on commit 7fbbe79

Please sign in to comment.