summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/noder.lua2
-rw-r--r--script/core/searcher.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index a7f71d3e..b853497e 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -1000,6 +1000,7 @@ function m.compileNodes(source)
return noders
end
log.debug('compileNodes:', guide.getUri(root))
+ collector.dropUri(guide.getUri(root))
guide.eachSource(root, function (src)
m.pushSource(noders, src)
m.compileNode(noders, src)
@@ -1011,7 +1012,6 @@ end
files.watch(function (ev, uri)
uri = files.asKey(uri)
if ev == 'update' then
- collector.dropUri(uri)
local state = files.getState(uri)
m.compileNodes(state.ast)
end
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index b7c86262..dd4e4730 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -185,7 +185,7 @@ local function crossSearch(status, uri, expect, mode, sourceUri)
return
end
status.lock[uri] = true
- await.delay()
+ --await.delay()
if TRACE then
log.debug('crossSearch', uri, expect)
end