-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Symfony is very slow in dev mode #509
Comments
Can you install the missing package? |
Thank you for responding. |
This is a Windows issue, unfortunately. For some reason, it seems that, if you have the I "solved" it by leaving the I really wish it wasn't this obnoxious to deal with, but I have not found an easier solution, and I tried for way too long. Realistically what we would all want is that the |
@jurchiks I have a question because I work differently (with devcontainer). what is the point of having the vendor folder on the host and using Docker? Also, I'm not familiar with Mac but on Windows, if you put your project folder in your WSL Ubuntu partition, mounting or not mounting the folder to Docker should have a similar performance. |
@ili101 I haven't tried putting the folder in WSL, guess I should try that. I read about it but somehow forgot... As for devcontainer - I tried setting that up, but PHPStorm didn't (or maybe stll doesn't) support devcontainers, and I need the vendor folder for the code analyzer, otherwise everything's red. The dumb thing still has no support for just reading the vendor folder contents from the container like VS Code does, afaik. |
I made a fork with Devcontainer #523. works nicely with VSCode. |
The performance problems are not linked to this project but to the management of the Docker flysystem on the different OS, which are very different. |
Hello everyone!
I am stuck when I uncomment the line - /app/vendor to improve Symfony's performance under Windows.
In the php container logs, I have this:
Fatal error: Uncaught LogicException: Symfony Runtime is missing. Try running "composer require symfony/runtime". in /app/bin/console:8
Indeed, we remove it from the bind mount, but then, I can't find the next step.
Thank you for your help!
The text was updated successfully, but these errors were encountered: