As a Mac OS / Windows Lando user,
I want to selectively mount paths within my application in named volumes,
So that I can increase my development speed by bypassing a significant portion of the speed penalty imposed by Docker's underlying filesharing mechanisms.
Notes from today's discussion:
- Feature should be activated in each app specifically, within it's
.lando.yml
- 'Easy button' inside recipe config that would activate for common paths (D8 - vendor, core, etc).
- Exclude key in root of lando.yml takes an array of paths that are relative to app root
- On rebuild we spin up a util container, that copies the exclude paths into their respective volumes, then stops, starts the app, and mounts those volumes in the needed locations.
- Upon disabling of feature, don't do anything with mounted code, notify user of change, and give them steps to remediate.
- start/stop/restart should make no changes, rebuild required for all ops
- potential future feature is two-way syncing, or even, container-authorative one way syncing.
As a Mac OS / Windows Lando user,
I want to selectively mount paths within my application in named volumes,
So that I can increase my development speed by bypassing a significant portion of the speed penalty imposed by Docker's underlying filesharing mechanisms.
Notes from today's discussion:
.lando.yml