Prevent load when watching

This commit is contained in:
Joe Lim committed 2024-06-23 01:18:58 +10:00
1 parent 7292788e76
commit 4cf4629a87
1 file changed
+1 -1
+1 -1
View File
@@ -1530,7 +1530,7 @@ func (nav *nav) del(app *app) error {
if gSingleMode {
nav.renew()
app.ui.loadFile(app, true)
} else {
} else if !gOpts.watch {
if err := remote("send load"); err != nil {
errCount++
echo.args[0] = fmt.Sprintf("[%d] %s", errCount, err)