Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lua/resession/extensions/overseer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ end
M.on_load = function(data)
local overseer = require("overseer")
local config = require("overseer.config")
local task_list = require("overseer.task_list")
while true do
local task = task_list.get_by_index(1)
if task == nil then
break
end
task:dispose(true)
end
for _, params in ipairs(data) do
local task = overseer.new_task(params)
if config.bundles.autostart_on_load then
Expand Down
Loading