summaryrefslogtreecommitdiff
path: root/script/plugin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/plugin.lua')
-rw-r--r--script/plugin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugin.lua b/script/plugin.lua
index 7afcbc0a..fc59bbad 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -6,7 +6,6 @@ local await = require 'await'
local scope = require 'workspace.scope'
local ws = require 'workspace'
local fs = require 'bee.filesystem'
-require 'plugins'
---@class plugin
local m = {}
@@ -129,6 +128,7 @@ end
ws.watch(function (ev, uri)
if ev == 'startReload' then
+ require 'plugins'
initPlugin(uri)
end
end)