From ffb925c69011541c8d4dd75da620ae637a6fee81 Mon Sep 17 00:00:00 2001 From: thzxx Date: Mon, 18 May 2026 13:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=20startWatching=20=E4=B8=AD=E6=AE=8B=E7=95=99=E7=9A=84=20isMod?= =?UTF-8?q?ifiedExternally=20=E5=BC=95=E7=94=A8=EF=BC=88=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E6=97=B6=20ReferenceError=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/main.js b/main.js index 4a9930f..7aab7f3 100644 --- a/main.js +++ b/main.js @@ -70,7 +70,6 @@ function startWatching(filePath) { try { fileWatcher = fs.watch(filePath, (eventType) => { if (eventType === 'change' && mainWindow && !mainWindow.isDestroyed()) { - isModifiedExternally = true; mainWindow.webContents.send('file:externallyModified', filePath); } });