We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ef6339 + 2cc048a commit 0e4d756Copy full SHA for 0e4d756
src/libraries/Executor.ts
@@ -125,6 +125,11 @@ class Executor {
125
let resolveFunction: () => void;
126
127
process.on('close', async (code, signal) => {
128
+ // Prevent open file watches when MySQL has been exited
129
+ // The file watch is only stopped if MySQL starts successfully
130
+ // This unwatch will prevent the watch from watching when the process has stopped.
131
+ fs.unwatchFile(errorLogFile)
132
+
133
if (signal) {
134
this.logger.log('Exiting because of aborted signal.')
135
return
0 commit comments