doc: remove fs_poll interval and update doc

This commit is contained in:
Alexander Courtis
2022-07-19 09:39:03 +10:00
parent 2edbe759cd
commit ecca8118f8
4 changed files with 1 additions and 12 deletions

View File

@@ -48,7 +48,6 @@ function M.create_watcher(absolute_path)
log.line("watcher", "node start '%s'", absolute_path)
return Watcher.new {
absolute_path = absolute_path,
interval = M.interval,
on_event = function(opts)
log.line("watcher", "node event scheduled '%s'", opts.absolute_path)
utils.debounce("explorer:watch:" .. opts.absolute_path, M.debounce_delay, function()
@@ -60,7 +59,6 @@ end
function M.setup(opts)
M.enabled = opts.filesystem_watchers.enable
M.interval = opts.filesystem_watchers.interval
M.debounce_delay = opts.filesystem_watchers.debounce_delay
end

View File

@@ -131,7 +131,6 @@ function M.load_project_status(cwd)
watcher = Watcher.new {
absolute_path = utils.path_join { project_root, ".git" },
project_root = project_root,
interval = M.config.filesystem_watchers.interval,
on_event = function(opts)
log.line("watcher", "git event scheduled '%s'", opts.project_root)
utils.debounce("git:watcher:" .. opts.project_root, M.config.filesystem_watchers.debounce_delay, function()