(filename: string, port: number, pluginDir: string)
| 123 | }; |
| 124 | |
| 125 | const startGotify = (filename: string, port: number, pluginDir: string): ChildProcess => { |
| 126 | const gotify = spawn(filename, [], { |
| 127 | env: { |
| 128 | GOTIFY_SERVER_PORT: '' + port, |
| 129 | GOTIFY_DATABASE_CONNECTION: 'file::memory:?mode=memory&cache=shared', |
| 130 | GOTIFY_PLUGINSDIR: pluginDir, |
| 131 | NODE_ENV: process.env.NODE_ENV, |
| 132 | PUBLIC_URL: process.env.PUBLIC_URL, |
| 133 | }, |
| 134 | }); |
| 135 | gotify.stdout.pipe(process.stdout); |
| 136 | gotify.stderr.pipe(process.stderr); |
| 137 | return gotify; |
| 138 | }; |
no outgoing calls
no test coverage detected
searching dependent graphs…