File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,13 @@ To run your compiled functions locally you can:
134134$ serverless invoke local --function <function-name>
135135` ` `
136136
137+ Options are :
138+
139+ - ` --function` or `-f` (required) is the name of the function to run
140+ - ` --watch` - recompile and run a function locally on source changes
141+ - ` --path` or `-p` (optional) path to JSON or YAML file holding input data
142+ - ` --data` or `-d` (optional) input data
143+
137144# ## Enabling source-maps
138145
139146You can easily enable support for source-maps (making stacktraces easier to read) by installing and using the following plugin :
@@ -147,13 +154,6 @@ yarn add --dev source-map-support
147154import 'source-map-support/register'
148155` ` `
149156
150- Options are :
151-
152- - ` --function` or `-f` (required) is the name of the function to run
153- - ` --watch` - recompile and run a function locally on source changes
154- - ` --path` or `-p` (optional) path to JSON or YAML file holding input data
155- - ` --data` or `-d` (optional) input data
156-
157157# # Help & Community [](https://slack.graph.cool)
158158
159159Join our [Slack community](http://slack.graph.cool/) if you run into issues or have questions. We love talking to you!
You can’t perform that action at this time.
0 commit comments