Skip to content

Commit ed74f9a

Browse files
committed
Fix watching
1 parent 343d30d commit ed74f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"test": "mocha",
88
"build": "browserify -t [ babelify --presets [ react ] ] ./demo/main.js -o ./demo/bundle.js && cp ./node_modules/draft-js/dist/Draft.css ./demo/draft.css",
99
"deploy": "npm run build && gh-pages -d ./demo",
10-
"watch": "watch 'npm run build' ./",
10+
"watch": "watch 'npm run build' lib/",
1111
"serve": "http-server -p 9090 demo/",
12-
"start": "npm run build && npm run serve -s"
12+
"start": "npm run build && parallelshell 'npm run serve -s' 'npm run watch'"
1313
},
1414
"repository": {
1515
"type": "git",

0 commit comments

Comments
 (0)