Atom had four different ways of watching for filesystem changes. Two used an
in-house library called @atom/watcher
- one for "polling" and other for
"experimental". It also had a different library to watch files for changes that
basically used the Tree-View package's watch mechanism
nsfw
onlychokidar
onlyUse only nsfw
library to watch for changes, and use the community version of
that library. Make the config for "watch" in Pulsar reflect that we only have
nsfw
as an option (Native operating system APIs).
Files are still being watched. Config failed to watch, but that's because of a different issue - see ADR 001
We still have another "watch" library called Pathwatcher. It is used by TextBuffer, atom-keymap and tree-view. It may be possible to remove this library to use only Pulsar's watch mechanism (it is available under the public API) so every code will basically use the public API and they will all respect the choice of what Pulsar defined, if we decide to introduce new file watcher libraries in the future