Closed akauppi closed 3 years ago
This filters beautifully (piping done within Docker):
$(docker-run-cmd) /bin/bash -c "firebase emulators:start --project=demo-9 | grep -v -E \"You are not currently authenticated|Detected demo project ID|The Emulator UI requires a project ID to start"\"
..but fails to recognise Ctrl-C for closing it down.
Got it working, for app-deploy-ops
. The trick is to -a stdin
in the Docker launch command; in addition to -t
.
Especially with
app-deploy-ops
, the developer experience is not optimal.Case A
This uses a pipe to filter out some warnings, but no messages come through to the terminal. That is not the purpose!!!
Case B
This doesn't pipe. Firebase Emulator prints out messages that are confusing to the developer.
We don't want to be authenticated.
demo-...
, why the "you are not currently authenticated" warning above?Tried disabling the emulator UI by
firebase.json
:emulators.ui: { enabled: false }
but that doesn't seem to cut it (how to disable the UI?)