-
Notifications
You must be signed in to change notification settings - Fork 310
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
Source code mounts not using cached consistency, Yarn extremely slow #879
Comments
I noticed that too, using cached consistency helped, not sure it resolved everything though |
@Chuxel this would be a good addition to the tips and tricks section. The other way to speed this up is to create a volume and then do development inside the volume. |
yes I guess making it the default would save you from a lot of requests from people not reading the docs. Also as soon as a project is large enough it really the only viable option. At the moment it makes using docker compose pretty mandatory. I would fix #442 with high priority though, docker might improve options on various operating system (maybe a tmpfs option will one day surface on windows, just guessing). You don't want people to be unable to harness future docker improvements by locking things done too much. |
The specifics of this issue was actually resolved a while ago. There's the ability to pick the mount consistency as a property along with tips for using volume mounts to speed things up or using Open Repo in Container which uses a volume. Thanks! |
When running yarn install inside the default node (LTS) container, it takes a long time to run.
Using macOS Mojave
Using Docker Desktop
Version 2.0.0.3 (31259)
Engine: 18.09.2
The text was updated successfully, but these errors were encountered: