Skip to content

bug: output for command not collected in realtime, appears later #488

@emmanueltouzery

Description

@emmanueltouzery

Neovim version (nvim -v)

NVIM v0.11.4

Operating system/version

fedora linux 43

Describe the bug

since upgrading to 2.0, I see that sometimes for some tasks, in some circumstances, the task output is not displayed in realtime in overseer (not in the sidebar, not in the floating terminal). it can be made to appear later.

What is the severity of this bug?

blocking (cannot use plugin)

Steps To Reproduce

If i start neovim, and run a specific task, no problem, the output is populated in realtime. the first time it's ok. Now if i restart that task, then i'll hit that issue. I'll also hit the issue if i run another task before, even if it's a different one.

The task finishes, and the output is still not displayed.

i wait, still nothing. I do "open output in quickfix" and bam in under 1 second the output in the sidebar gets populated and also if i open the floating window now it's populated.

Expected Behavior

the task output should be reliably displayed in realtime.

Minimal example file

No response

Minimal init.lua

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "stevearc/dressing.nvim", config = true },
  {
    "stevearc/overseer.nvim",
    config = function()
      require("overseer").setup({
        -- add your overseer config here
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions