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.
1 parent ecdbc75 commit 626b43eCopy full SHA for 626b43e
src/libraries/Executor.ts
@@ -118,6 +118,11 @@ class Executor {
118
let resolveFunction: () => void;
119
120
process.on('close', async (code, signal) => {
121
+ // Prevent open file watches when MySQL has been exited
122
+ // The file watch is only stopped if MySQL starts successfully
123
+ // This unwatch will prevent the watch from watching when the process has stopped.
124
+ fs.unwatchFile(errorLogFile)
125
+
126
if (signal) {
127
this.logger.log('Exiting because of aborted signal.')
128
return
0 commit comments