mirror of
https://github.com/koush/scrypted.git
synced 2026-05-26 22:50:30 +01:00
server: child process plugin hint
This commit is contained in:
@@ -260,7 +260,7 @@ export class PluginHost {
|
||||
execArgv.push(`--inspect=0.0.0.0:${this.pluginDebug.inspectPort}`);
|
||||
}
|
||||
|
||||
this.worker = child_process.fork(require.main.filename, ['child'], {
|
||||
this.worker = child_process.fork(require.main.filename, ['child', this.pluginId], {
|
||||
stdio: ['pipe', 'pipe', 'pipe', 'ipc'],
|
||||
env: Object.assign({}, process.env, env),
|
||||
serialization: 'advanced',
|
||||
|
||||
Reference in New Issue
Block a user