fix: process load commands when watch is enabled (#2513)

This commit is contained in:
valoq authored and GitHub committed 2026-04-14 00:38:57 +10:00
1 parent f0a8b55ff5
commit 1c656303f3
1 file changed
-3
-3
View File
@@ -1266,9 +1266,6 @@ func (e *callExpr) eval(app *app, _ []string) {
app.ui.loadFile(app, true) app.ui.loadFile(app, true)
onRedraw(app) onRedraw(app)
case "load": case "load":
if gOpts.watch {
return
}
app.nav.renew() app.nav.renew()
app.ui.loadFile(app, false) app.ui.loadFile(app, false)
case "reload": case "reload":