This commit is contained in:
Eelco Dolstra 2024-02-23 19:51:28 +01:00
parent 32e1a339b5
commit b59b2f450f
2 changed files with 4 additions and 2 deletions

3
dist/index.js generated vendored
View file

@ -12207,11 +12207,12 @@ async function setUpAutoCache() {
}); });
}); });
}); });
// Start the server. Once it is ready, it will notify us via the notification server. // Start tailing the daemon log.
const outputPath = `${daemonDir}/daemon.log`; const outputPath = `${daemonDir}/daemon.log`;
const output = openSync(outputPath, 'a'); const output = openSync(outputPath, 'a');
const log = tailLog(daemonDir); const log = tailLog(daemonDir);
const netrc = await netrcPath(); const netrc = await netrcPath();
// Start the server. Once it is ready, it will notify us via the notification server.
const daemon = spawn(daemonBin, [ const daemon = spawn(daemonBin, [
'--startup-notification-url', `http://127.0.0.1:${notifyPort}`, '--startup-notification-url', `http://127.0.0.1:${notifyPort}`,
'--listen', coreExports.getInput('listen'), '--listen', coreExports.getInput('listen'),

View file

@ -141,12 +141,13 @@ async function setUpAutoCache() {
}); });
}); });
// Start the server. Once it is ready, it will notify us via the notification server. // Start tailing the daemon log.
const outputPath = `${daemonDir}/daemon.log`; const outputPath = `${daemonDir}/daemon.log`;
const output = openSync(outputPath, 'a'); const output = openSync(outputPath, 'a');
const log = tailLog(daemonDir); const log = tailLog(daemonDir);
const netrc = await netrcPath(); const netrc = await netrcPath();
// Start the server. Once it is ready, it will notify us via the notification server.
const daemon = spawn( const daemon = spawn(
daemonBin, daemonBin,
[ [