Skip to content

Commit

Permalink
fix: emulator target setTimeout not working (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosslavery authored May 7, 2023
1 parent 77117fb commit bfeeeea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/nx-firebase-targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Starts the firebase emulator:
"executor": "nx:run-commands",
"options": {
"commands": [
"node -e 'setTimeout(()=>{},5000)'",
"node -e \"setTimeout(()=>{},5000)\"",
"kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500",
"firebase functions:config:get --config firebase.functions.json --project my-project > dist/functions/.runtimeconfig.json",
"firebase emulators:start --config firebase.json"
Expand All @@ -90,7 +90,7 @@ Starts the firebase emulator:
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"node -e 'setTimeout(()=>{},5000)'",
"node -e \"setTimeout(()=>{},5000)\"",
"kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500",
"firebase functions:config:get --config firebase.functions.json --project my-project > dist/functions/.runtimeconfig.json",
"firebase emulators:start --config firebase.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function getEmulateTarget(
executor: getRunCommandsExecutor(),
options: {
commands: [
`node -e 'setTimeout(()=>{},5000)'`,
`node -e \"setTimeout(()=>{},5000)\"`,
`kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500`,
`firebase functions:config:get ${getFirebaseConfig(
options,
Expand Down

0 comments on commit bfeeeea

Please sign in to comment.