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

Node API - Cannot add/push package changes multiple times #103

Open
Blasz opened this issue Oct 15, 2019 · 0 comments · May be fixed by #104
Open

Node API - Cannot add/push package changes multiple times #103

Blasz opened this issue Oct 15, 2019 · 0 comments · May be fixed by #104

Comments

@Blasz
Copy link

Blasz commented Oct 15, 2019

We're using yalc via node instead of running it via the commandline and have noticed that changes made after an initial push never make it to the installation dirs.

After debugging the code, I've found that the cause is the implementation of copyDirSafe which caches the contents of the package in memory which ignores any subsequent published changes to the package in the yalc store.

This works fine when run via the commandline since a package will only be added/pushed to a repo once in yalc's lifetime, however, this is not the case when running in node.

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 a pull request may close this issue.

1 participant