posit-dev / publisher

MIT License
3 stars 0 forks source link

Create `ConfigWatcherManager` disposable #1717

Closed dotNomad closed 2 months ago

dotNomad commented 2 months ago

This PR consolidates Configuration watchers into a ConfigWatcherManager for the Home view to utilize.

It is a disposable. This PR also fixes the Home View to correctly dispose with the extension.

Intent

Resolves #1673

Type of Change

Approach

The approach here was to create a new watcher manager specific to configurations. I didn't incorporate it into the bus since the file watchers were only used in the Home View, but that is something we can do in the future if needed.