Expand description
Checks for the faults that cost real debugging time, and repairs for the ones whose correct value is discoverable.
The motivating case: Metro runs inside the container, but file events do not
cross the bind mount from the host, so its watcher never sees an edit. The
entrypoint’s poker exists to bridge that, and a stale METRO_POKE=false
baked into a container turns it off silently - every change then needs a
cache clear, with nothing to say why.
Structs§
Enums§
Constants§
Functions§
- check_
docker - check_
metro_ poke - check_
overlays - Only the overlay
generatealways writes. docker-compose.extra.yml is written per extra app, so a workspace with none legitimately has no such file - demanding it would be a failure no repair could ever clear. - container_
metro_ poke METRO_POKEas the named container actually has it, which is not always what the env file says: a container keeps the environment it was created with until it is recreated.- docker_
available - fix
- format_
actions - format_
checks - run
- running_
metro_ containers - runs_
mobile - Does this workspace run a mobile app whose Metro lives in a container?
- set_
env_ key - Set
keyin a .env file, preserving comments and the order of what is already there. Appends with a note when the key is absent.