The next branch is preparing to use Docker Compose for handling background services (instead of npm and concurrently).
On Docker Desktop for Mac (4.0.0; macOS 11.5.2), change detection does not seem to work. The use case for this is changing functions, or Security Rules, while the emulator is running. Such changes are detected and reflected upon by a native firebase launch. Docker container only seems to notice changes done within it (in the Alpine Linux side).
There are discussions about this over the years (see here) and there's one way it can be worked around, seamlessly.
To workaround this, I wrote a script that binds to fsevents on the host machine, and delegates changes manually using docker exec [container_id] touch [file_path] in the target container. Not my favorite solution, but it beats having to restart docker or the host machine itself.
The
next
branch is preparing to use Docker Compose for handling background services (instead ofnpm
andconcurrently
).On Docker Desktop for Mac (4.0.0; macOS 11.5.2), change detection does not seem to work. The use case for this is changing functions, or Security Rules, while the emulator is running. Such changes are detected and reflected upon by a native
firebase
launch. Docker container only seems to notice changes done within it (in the Alpine Linux side).There are discussions about this over the years (see here) and there's one way it can be worked around, seamlessly.
That sounds doable.