mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
If a test process does not explicitly call process.exit, pathwatcher watchers may keep it alive indefinitely (either that, or there's a bug with the persistent:false option to fs.watchFile). This accidental immortality can be prevented by explicitly closing all watchers when we no longer have any interest in file change notifications.