micro/cmd/micro
Jöran Karl a57d29ada9
command: Fix reload command to correctly initialize and reload all runtime files (#3062)
* rtfiles: Initialize all-/realFiles and Plugins in InitRuntimeFiles

* command: Reload plugins at ReloadCmd too

* command: Don't reload plugins in case of ReloadConfig()

* rtfiles: Split InitRuntimeFiles() into one func for assets and one for plugins

* rtfiles: Remove the unnecessary init function

With this modification the InitRuntimeFiles() and InitPlugins() (if needed)
must be called first, otherwise uninitialized runtime file variables are most
likely.
2024-03-22 20:47:30 +01:00
..
clean.go Ignore tool files 2021-08-21 18:07:43 -04:00
debug.go Fix v2 import path for go mod 2020-05-04 10:16:15 -04:00
initlua.go Remove lua.Lock 2024-03-14 04:53:56 +01:00
micro_test.go command: Fix reload command to correctly initialize and reload all runtime files (#3062) 2024-03-22 20:47:30 +01:00
micro.go command: Fix reload command to correctly initialize and reload all runtime files (#3062) 2024-03-22 20:47:30 +01:00