Last active
November 4, 2021 20:28
-
-
Save jasonruesch/c9c83e9a84183d53a755cabff1b7d44e to your computer and use it in GitHub Desktop.
Serve Firebase Functions emulator with Nest application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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