signal server started as soon as process is there
This commit is contained in:
Родитель
cb66b7ee9f
Коммит
e99a7cba5d
|
@ -169,11 +169,11 @@ export abstract class OmnisharpServer {
|
|||
|
||||
return omnisharpLauncher(cwd, argv).then(value => {
|
||||
this._serverProcess = value.process;
|
||||
this._fireEvent('stdout', `[INFO] Started OmniSharp from '${value.command}' with process id ${value.process.pid}...\n`);
|
||||
this._fireEvent('stdout', `[INFO] Started OmniSharp from '${value.command}' with process id ${value.process.pid}...\n`);
|
||||
this._fireEvent('ServerStart', solutionPath);
|
||||
this._setState(ServerState.Started);
|
||||
return this._doConnect();
|
||||
}).then(_ => {
|
||||
this._fireEvent('ServerStart', solutionPath);
|
||||
this._setState(ServerState.Started);
|
||||
this._processQueue();
|
||||
}, err => {
|
||||
this._fireEvent('ServerError', err);
|
||||
|
|
Загрузка…
Ссылка в новой задаче