Observe pathwatcher config

If the `coverage.refreshOnFileChange` configuration changes, the
PathWatcher will be closed or re-initialized dependent on the setting
and the current state.