marilari88 / neotest-vitest

Vitest adapter for Neovim Neotest plugin
92 stars 34 forks source link

Watch mode not working #53

Open ming-codes opened 3 months ago

ming-codes commented 3 months ago

Following the README using :lua require('neotest').run.run({ vitestCommand = 'vitest --watch' }) gives the following error

Error: Expected a single value for option "-w, --watch", received [true, false]

The error message hints that the watch param was toggled on and off again from this line here https://github.com/marilari88/neotest-vitest/blob/6965a714793d9d156dadbe734c99b3a307f65c61/lua/neotest-vitest/init.lua#L344