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:
134
134
$ serverless invoke local --function <function-name>
135
135
` ` `
136
136
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
+
137
144
# ## Enabling source-maps
138
145
139
146
You 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
147
154
import 'source-map-support/register'
148
155
` ` `
149
156
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
-
157
157
# # Help & Community [](https://slack.graph.cool)
158
158
159
159
Join 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