You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
The main problem with upgrading pathwatcher is that the semantics of exists() have changed from 3.x to 4.x. Previously, it returned a boolean synchronously. In 4.x, existsSync() should be used to return a boolean synchronously and exists() will return a Promise that resolves to a boolean.
Here are PRs to upgrade known uses of exists() in the wild in third-party Atom packages:
Though from a cursory look through those PRs, I think it might be possible to upgrade safely without breaking those packages because they seem to pull in their own pathwatcher dependencies and instantiate File from those rather than operate on a File that was created by Atom core. Assuming that is the case, then Atom core could use a different version of File than those packages.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
bolinfest commentedon Mar 12, 2015
There are a number of dependent packages in Atom core that also have
pathwatcheras a dependency, so those also need to be upgraded:atom/archive-view#17
atom/atom-keymap#73
atom/dev-live-reload#11
atom/image-view#32
atom/markdown-preview#215
atom/snippets#115
atom/symbols-view#84
atom/text-buffer#51
atom/tree-view#402
It looks like these were accepted and then reverted because they caused some issues, so I guess there's still some work to do?
lock commentedon Jan 23, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!