summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index a6425a8b..c76eec55 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -6,7 +6,6 @@ local config = require 'config'
local glob = require 'glob'
local platform = require 'bee.platform'
local await = require 'await'
-local rpath = require 'workspace.require-path'
local proto = require 'proto.proto'
local lang = require 'language'
local library = require 'library'
@@ -359,6 +358,7 @@ function m.getRelativePath(uri)
end
function m.reload()
+ local rpath = require 'workspace.require-path'
files.flushAllLibrary()
files.removeAllClosed()
files.flushCache()