-
Notifications
You must be signed in to change notification settings - Fork 43
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
src folder files deleted #37
Comments
This happens to me as I had a symlink to the module due to nohoist in a play monorepo :) this produce a copy loop until I stop it. All files were truncated :D |
The same behavior. Some comments from authors? |
I have had the same issue where the files in the folder used as src for |
so grateful to you all. this was super nutty |
Maybe such behaviour worth to add big red alert text at top of Readme? Because usually people not read all library issues before start using it, to see this issue |
I'm having the same issue in my npm monorepo. I'm trying to link one of my monorepo's packages with a node module folder in another package:
However when I run wml start, it seems to go in a loop for several seconds, then deletes all files in the src folder and then stops. What the heck is going on? Edit: clearing the destination folder ended up fixing the issue. Not sure why, but I imagine it had to do with symlinks in the destination. |
@sadelbrid Thank you for the solution but did you find any solution to exclude this behavior? |
I tried this library, using
wrl add <src-package> <dest-project>
. It asked me something about remove node_modules, I said yes. I came back and realised thesrc
files had all been deleted. Had to recreate my lib, unfortunately I did it before committing changes. Luckily not too much work got deleted.The lib is being referenced with "module-name": "file:/", and appears as a symlink in the project's node_modules folder.
The text was updated successfully, but these errors were encountered: