Firebase Emulator starts 3 seperate Realtime Databases. I've never added configurations for multiple and until today it never created more than one. Now I can't get firebase to start just one. This seems like a bug, there are multiple other questions on the topic but no one seems to know what the bug is.
Here's my firebase.json
file:
{ "database": {
"rules": "database.rules.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
}
],
"emulators": {
"auth": {
"port": 9099
},
"database": {
"port": 9000
},
"ui": {
"enabled": true
},
"singleProjectMode": true
}
}
And here's my .firebaserc
:
{
"projects": {
"default": "MyProject-development"
}
}
Update: Randomly the project just started working correctly, then went back to presenting multiple realtime databases and now it has reverted back to working correctly. I think it's a caching problem.
Update 2: Randomly the project just stopped working correctly again. Everything is leading me to believe this is some sort of caching issue.