Another optimization which can be done, is when you are in real-TIme Mode and after you make any changes inside the Task Board, these changes gets written to a MD file and that file is again gets scanned and the REFRESH_COLUMN again happens. So this two operations can be avoided by simply coming with better code.
Possible Solution
Dont scan the files which has been updated right after any operation done through board.
Also, I think, once i use process() function instead of the modify(), then the issue might get solved automatically, since, the focus is not getting changed this way. But, still cannot be the solution, because this issue mainly arises when something is getting updated in the markdown file and also the focus change is detected.
Another optimization which can be done, is when you are in real-TIme Mode and after you make any changes inside the Task Board, these changes gets written to a MD file and that file is again gets scanned and the REFRESH_COLUMN again happens. So this two operations can be avoided by simply coming with better code.
Possible Solution
Dont scan the files which has been updated right after any operation done through board.
Also, I think, once i use
process()
function instead of themodify()
, then the issue might get solved automatically, since, the focus is not getting changed this way. But, still cannot be the solution, because this issue mainly arises when something is getting updated in the markdown file and also the focus change is detected.