recharge
recharge copied to clipboard
Reload delay debounce
Added a simple de-bounce with a default delay of 200ms. On my system every file save fires the event twice, and this fixes the issue
Also added a simple clearConsole option to make it easier to see reload changes
Could you tell me your system specs? OS/arch/version? May be there is something we can do in the watcher itself.
Clear console is a nice feature 👍🏽
I am running Debian 10.13 on amd64. Maybe it is an issue with my systems.
But I think it is still an important feature to include. If lets say you delete a folder with files, every file delete will trigger a reload. With delay, reload will be only triggered once as intended.
@romanzy313 Sorry got a bit busy. I will merge after these minor changes.