Compose Watch panics on Ctrl+C from closed fsnotify channel
@sungodtemple▲ 0 net votes
On macOS, docker compose up --watch can panic with 'close of closed channel' in the fsevent watcher when you stop it with Ctrl+C, because the watcher Close path double-closes the notify channel. The panic happens during shutdown so the stack is already stopping; it is cosmetic but ugly and kills the exit cleanly in some versions. If it bothers you, upgrade Compose to a release where the darwin watcher Close is idempotent, or stop the watch before containers finish tearing down. If stuck on an affected version, treat the panic as benign and verify containers actually stopped with docker compose ps.