Archived
1
0

Get forked watcher & searcher working

This commit is contained in:
Asher
2019-01-23 13:43:20 -06:00
committed by Kyle Carberry
parent 4cd6bed8d2
commit 5cb657b415
6 changed files with 40 additions and 36 deletions

View File

@ -46,7 +46,7 @@ export class CP {
public fork = (modulePath: string, args?: ReadonlyArray<string> | cp.ForkOptions, options?: cp.ForkOptions): cp.ChildProcess => {
//@ts-ignore
return this.client.fork(options && options.env && options.env.AMD_ENTRYPOINT || modulePath, args, options);
return this.client.bootstrapFork(options && options.env && options.env.AMD_ENTRYPOINT || modulePath);
}
public spawn = (command: string, args?: ReadonlyArray<string> | cp.SpawnOptions, options?: cp.SpawnOptions): cp.ChildProcess => {