Last active
December 19, 2021 01:07
-
-
Save grant/5219728fbcce9ac963be59a7b5db099e to your computer and use it in GitHub Desktop.
Hot Reload Node Functions
This file contains 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
{ | |
"main": "index.js", | |
"dependencies": { | |
"@google-cloud/functions-framework": "^2.1.0" | |
}, | |
"watch": { | |
"start": "*.js" | |
}, | |
"devDependencies": { | |
"npm-watch": "^0.11.0" | |
}, | |
"scripts": { | |
"watch": "npm-watch start", | |
"start": "npx @google-cloud/functions-framework --target=helloWorld" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment