Skip to content

Commit

Permalink
fix: fix watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
emirotin committed Aug 13, 2018
1 parent a5eb0ac commit 79fe6d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -23,8 +23,9 @@
"dependencies": {},
"scripts": {
"bootstrap": "lerna bootstrap",
"build-sdk": "lerna run build --scope botpress-module-sdk",
"dev": "lerna bootstrap && npm run watch",
"watch": "lerna run --parallel watch",
"watch": "npm run build-sdk && lerna run --parallel watch",
"test": "lerna run test"
}
}
2 changes: 1 addition & 1 deletion packages/module-sdk/package.json
Expand Up @@ -11,7 +11,7 @@
"build-ts": "../../node_modules/.bin/rimraf dist && ../../node_modules/.bin/tsc",
"test": "../../node_modules/.bin/jest --forceExit --coverage --verbose -c ../../jest.config.js",
"watch": "npm run watch-ts",
"watch-ts": "../../node_modules/.bin/rimraf dist && ../../node_modules/.bin/tsc-watch -p .",
"watch-ts": "../../node_modules/.bin/tsc-watch -p .",
"watch-node": "../../node_modules/.bin/nodemon dist/src/index.js -w dist",
"watch-test": "npm run test -- --watchAll",
"tslint": "../../node_modules/.bin/tslint -c ../../tslint.json -p tsconfig.json"
Expand Down

0 comments on commit 79fe6d1

Please sign in to comment.