the-ocf / cdklightbox

A viewer of CDK apps
MIT License
69 stars 3 forks source link

Writing state to disk is too aggressive. #19

Closed mbonig closed 1 year ago

mbonig commented 2 years ago

A write to disk happens on every single state change. This is too aggressive and something like a debounce could help save some cycles.

This is what'll need updating:

src/main/listeners/workbench-state-update-listener.ts