Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for mounted file systems on macOS #108

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

DavidGoldman
Copy link
Contributor

Some mounted file systems report a creation time of 0 - we want to support these systems reporting a file as created and modified and properly treat it as created.

Some mounted file systems report a creation time of 0 - we still want to
support these systems reporting a file as created and modified and
properly treat it as created.
@DavidGoldman
Copy link
Contributor Author

@devongovett Thoughts on merging this? Also, is there a proper way to run the tests - they don't seem to be passing (unrelated from my change from what I can tell)?

@devongovett
Copy link
Member

Is there a way I can test this change?

@DavidGoldman
Copy link
Contributor Author

DavidGoldman commented Sep 19, 2022

It happens internally for our own mounted VFS, but I think you might be able to repro with an NFS client or perhaps with a normal file system if you change the latency here to be greatly increased and then write and modify the file (while keeping the ctime as 0)

Copy link
Member

@devongovett devongovett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for my slowness. seems fine.

@devongovett devongovett merged commit c816d99 into parcel-bundler:master Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants