fix watchBuild task failed
This commit is contained in:
parent
c943393598
commit
59e8093402
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ export default class WatchProject implements Disposable {
|
|||
if (res) {
|
||||
let file = path.join(path.dirname(res), 'node_modules/.bin/tsc')
|
||||
if (fs.existsSync(file)) {
|
||||
cmd = './node_modules/.bin/tsc'
|
||||
cmd = file
|
||||
root = path.dirname(res)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue