change spawn path
parent
efc17189c0
commit
9b7b5ee03d
|
@ -30,6 +30,6 @@ export default async function storage(client: Client) {
|
||||||
storageGo.stderr.on('data', (data) => client.signale.log(data));
|
storageGo.stderr.on('data', (data) => client.signale.log(data));
|
||||||
storageGo.on('exit', (code) => {
|
storageGo.on('exit', (code) => {
|
||||||
client.signale.log(`Go storage func exited with code ${code}, restarting`);
|
client.signale.log(`Go storage func exited with code ${code}, restarting`);
|
||||||
storageGo = spawn('./storage', []);
|
storageGo = spawn('../bin/storage', []);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue