build(docs-infra): ensure `dist/` directory is cleaned before running `tsc --watch` (#24372)

PR Close #24372
This commit is contained in:
George Kalpakas 2018-06-08 12:56:01 +03:00 committed by Miško Hevery
parent ea143e7498
commit 5e8bf2f88d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
"scripts": {
"prebuild": "yarn clean-dist",
"build": "tsc",
"build-watch": "yarn tsc --watch",
"build-watch": "yarn build --watch",
"clean-dist": "node --eval \"require('shelljs').rm('-rf', 'dist')\"",
"dev": "concurrently --kill-others --raw --success first \"yarn build-watch\" \"yarn test-watch\"",
"lint": "tslint --project tsconfig.json",