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) {
|
if (res) {
|
||||||
let file = path.join(path.dirname(res), 'node_modules/.bin/tsc')
|
let file = path.join(path.dirname(res), 'node_modules/.bin/tsc')
|
||||||
if (fs.existsSync(file)) {
|
if (fs.existsSync(file)) {
|
||||||
cmd = './node_modules/.bin/tsc'
|
cmd = file
|
||||||
root = path.dirname(res)
|
root = path.dirname(res)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue