diff --git a/lua/cp/ui/views.lua b/lua/cp/ui/views.lua index 6c92b97..0b9cf52 100644 --- a/lua/cp/ui/views.lua +++ b/lua/cp/ui/views.lua @@ -440,8 +440,6 @@ function M.run_io_view(test_indices_arg, debug, mode) end end - M.ensure_io_view() - local run = require('cp.runner.run') if mode == 'combined' then @@ -484,6 +482,10 @@ function M.run_io_view(test_indices_arg, debug, mode) end end + if not test_indices_arg then + M.ensure_io_view() + end + local io_state = state.get_io_view_state() if not io_state then return