Skip to content

Commit 9ba58ef

Browse files
Fix databases not starting in Windows Server 2025 (#213)
1 parent 6c8c26e commit 9ba58ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Executor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class Executor {
198198
})
199199

200200
fs.watchFile(errorLogFile, async (curr) => {
201-
if (curr.dev !== 0) {
201+
if (curr.isFile()) {
202202
//File exists
203203
const file = await fsPromises.readFile(errorLogFile, {encoding: 'utf8'})
204204
if (file.includes(': ready for connections') || file.includes('Server starts handling incoming connections')) {

0 commit comments

Comments
 (0)