-
Notifications
You must be signed in to change notification settings - Fork 28
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
Symlink handling is inconsistent #211
Comments
Just so I understand it fully, do you have the steps / code on how to reproduce this? What OS is this running on as well? |
Hey I can't seem to reproduce it because with simple example Nollup still tracks file via the symlink and I don't know how to influence it. |
Does your original code in which you're encountering this problem, resolve the symlink using something like Question comes down to whether both |
When some part of the code is behind a symlink (e.g.
file:
url in package.json) then compiling this code will resolve module IDs to be real filesystem path.However when symlink path is passed to
invalidate()
of the bundle the symlink is not resolved so the file in question will not be invalidated and rebuilding will not work.Easy fix would be to call
fs.realpath()
fromonAddWatchFile()
.The text was updated successfully, but these errors were encountered: