Skip to content

Instantly share code, notes, and snippets.

@jasonruesch
Last active November 4, 2021 20:28
Show Gist options
  • Save jasonruesch/c9c83e9a84183d53a755cabff1b7d44e to your computer and use it in GitHub Desktop.
Save jasonruesch/c9c83e9a84183d53a755cabff1b7d44e to your computer and use it in GitHub Desktop.
Serve Firebase Functions emulator with Nest application
{
"root": "apps/api",
"sourceRoot": "apps/api/src",
"projectType": "application",
"targets": {
...
"serve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "nx run api:build --watch"
},
{
"command": "firebase -P default emulators:start --only functions --inspect-functions"
}
]
}
},
...
},
"tags": [
"type:app",
"scope:api"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment