mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
Use shell: true when spawning tsc
This commit is contained in:
parent
2f1338cc6b
commit
91a8bf04fc
@ -217,6 +217,7 @@ export async function unusedExports(): Promise<void> {
|
||||
export function typescript(): ChildProcess {
|
||||
return spawn(__dirname + '/node_modules/.bin/tsc', ['-p', __dirname + '/tsconfig.dist.json', '--pretty'], {
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
})
|
||||
}
|
||||
|
||||
@ -226,6 +227,7 @@ export function watchTypescript(): ChildProcess {
|
||||
['-p', __dirname + '/tsconfig.dist.json', '--watch', '--preserveWatchOutput', '--pretty'],
|
||||
{
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user