fix(striker-ui-api): add additional messages to access module

main
Tsu-ba-me 1 year ago
parent c39364a35b
commit e4ae03a7f8
  1. 10
      striker-ui-api/src/lib/accessModule.ts

@ -49,6 +49,16 @@ class Access extends EventEmitter {
...restSpawnOptions, ...restSpawnOptions,
}); });
ps.on('error', (error) => {
sherr(`anvil-access-module daemon error: ${error.message}`, error);
});
ps.on('close', (code, signal) => {
shout(
`anvil-access-module daemon exited; code=${code}, signal=${signal}`,
);
});
let stdout = ''; let stdout = '';
ps.stderr?.setEncoding('utf-8').on('data', (chunk: string) => { ps.stderr?.setEncoding('utf-8').on('data', (chunk: string) => {

Loading…
Cancel
Save