ATL-667: Warn the user when could not save sketch.

- Log the PID of the backend process.
 - Aligned the dev startup mode with the production: `--no-cluster`.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2020-11-06 14:22:09 +01:00
committed by Akos Kitta
parent 1a531db0b7
commit cff2c95684
6 changed files with 1295 additions and 1273 deletions

View File

@@ -57,6 +57,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
args,
await this.getForkOptions(),
);
console.log(`Starting backend process. PID: ${backendProcess.pid}`);
return new Promise((resolve, reject) => {
// The backend server main file is also supposed to send the resolved http(s) server port via IPC.
backendProcess.on('message', (address: AddressInfo) => {