fix: process load commands when watch is enabled (#2513)
This commit is contained in:
1 parent
f0a8b55ff5
commit
1c656303f3
1 file changed
-3
@@ -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":
|
||||||
|
|||||||
Reference in new issue
Block a user