Hey guys, new to nova api. Trying to improve one of existing extensions. Due to time it takes task to complete(can be few seconds up to 10-15 minutes, tests run) I want to have some indicator that would state if task still runs or not. It has simple approach -
- invokes proc = new Process()
- then proc.onDidExit() - I process results which were stored in json file during the run.
So I tried following approach
let task = new Task("Rspec run"); task.setAction(Task.Run, new TaskProcessAction('rspec-issues.runAllFiles'));
Unfortunately it won’t invoke the according TaskProcessAction(I put few console logs, but nothing invoked). What am I missing?
Any ways to put
debugger and get it executed somehow?