mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-09 20:36:32 +00:00
Use CLI 0.11.0.
- LS does not work, - Cannot reconnect to the daemon on browser refresh. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
20f44fe072
commit
cfde197198
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
|
|
||||||
const DEFAULT_VERSION = '0.11.0-rc1-62-g72c9655f'; // require('moment')().format('YYYYMMDD');
|
const DEFAULT_VERSION = '0.11.0'; // require('moment')().format('YYYYMMDD');
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const shell = require('shelljs');
|
const shell = require('shelljs');
|
||||||
|
@ -166,11 +166,13 @@ export class ArduinoDaemonImpl implements ArduinoDaemon, BackendApplicationContr
|
|||||||
if (error) {
|
if (error) {
|
||||||
ready.reject(error);
|
ready.reject(error);
|
||||||
}
|
}
|
||||||
if (message.includes('Daemon is now listening on 127.0.0.1')) {
|
for (const expected of ['Daemon is listening on TCP port', 'Daemon is now listening on 127.0.0.1']) {
|
||||||
|
if (message.includes(expected)) {
|
||||||
grpcServerIsReady = true;
|
grpcServerIsReady = true;
|
||||||
ready.resolve(daemon);
|
ready.resolve(daemon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
daemon.stderr.on('data', data => {
|
daemon.stderr.on('data', data => {
|
||||||
const message = data.toString();
|
const message = data.toString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user