ddev / ddev

Docker-based local PHP+Node.js web development environments
https://ddev.com
Apache License 2.0
2.43k stars 579 forks source link

DDEV refreshes most contents of project .ddev directory on every command #6190

Open rfay opened 2 weeks ago

rfay commented 2 weeks ago

Expected Behavior

Most DDEV commands shouldn't fiddle with the .ddev directory

Actual Behavior

Every time ddev describe or ddev list or even ddev version runs, it forces a mutagen re-scan of everything and refreshes enormous parts of the .ddev directory.

This matters mostly when people are using the PhpStorm plugin, which checks status every few seconds. So every time it does a ddev describe -j (I think) mutagen gets kicked off, does a full reconciliation, and has to re-copy every generated thing in the .ddev directory.

Steps To Reproduce

  1. Enable mutagen
  2. ddev mutagen logs (you may have to do this a couple times before it works
  3. ddev version
  4. See the files get re-scanned and recreated.

Alternately just watch ddev mutagen logs when Phpstorm with the plugin is running.

Anything else?

I really don't think we should have to update all those things on every command? Maybe just on start?