PhpStorm takes a very long time to sync
Hi,
I work with Laravel a lot. When I sync my project with the server via "Deployment --> Sync witch Deployed to ***" it takes a very long time to do. But just because it get stuck in a specify folder "database/migrations" for around 5 minutes where only two files (about 2 KB each) exist.
Could somebody tell me whats happing there? Or is there a log file wheren I can lookup the problem?
Please sign in to leave a comment.
Hi there,
https://devnet.jetbrains.com/docs/DOC-1202
Enable extra logging and then check results in idea.log (Help | Show Log in...)
Hi there,
thank you very much, now I know the "problem".
It first "crawls" the folders and after that it starts downloading them. And the last status showed is "database/migrations" it just doesn't tell me that it is downloading files for compare.
Maybe it should be a bit improved to show the status while downloading files.
It only "downloads" them if you set your Sync screen to compare files by "content". If you switch to comparing by "size & timestamp" it should generally be faster (not sure about your case though ... as you have said that your files are few KBs in size only).
Another suggestion: if you know for sure that some part of the site/project is not modified -- maybe it worth calling Sync for certain subfolders separately (this way you may omit unchanged folders/files). BTW -- you may do sync for few different subfolders at the same time.