Skip to content

Commit

Permalink
fix(package): add src/*.js to light-server watch list
Browse files Browse the repository at this point in the history
  • Loading branch information
Caerostris committed Jun 1, 2016
1 parent 307edba commit 68432ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"test": "npm run unit-test",
"start": "npm run server",
"unit-test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js \"test/**/*@(.js|.jsx)\"",
"server": "npm run prepare:example && light-server -s example/dist -p 8000 -w 'src/*.jsx,example/src/*.js # npm run js:example' -w 'src/*.css,example/src/*.css # npm run css # reloadcss' -w 'example/src/*.html # npm run copy:assets # reload'",
"server": "npm run prepare:example && light-server -s example/dist -p 8001 -w 'src/*.jsx,src/*.js,example/src/*.js # npm run js:example' -w 'src/*.css,example/src/*.css # npm run css # reloadcss' -w 'example/src/*.html # npm run copy:assets # reload'",
"prepare:example": "rm -rf example/dist && mkdir example/dist && npm run copy:assets && npm run js:example && npm run css",
"copy:assets": "cp example/src/*.html example/dist && cp example/src/*.svg example/dist",
"css": "cat example/src/app.css src/geosuggest.css > example/dist/app.css",
Expand Down

0 comments on commit 68432ec

Please # to comment.