serverless --path parameter isn't working?
Hi, I've noticed that when I provide --path parameter in sls invoke local -f .. -p path/to/event.json the invocation finishes with error: The file you provided does not exist..
I guessed from the code here that I need to add include option to serverless.yml file so that event.json gets copied to .build directory: https://github.com/graphcool/serverless-plugin-typescript/blob/4bace79c1dd25cfb416cb7a4e4cc019c86fec309/src/index.ts#L149:L152
like so:
package:
include:
- src/**/event.json
However, any changes to event.json are not being updated when I do a new lambda invocation. So I wonder if the --path paramter isn't working so far or am I doing it wrong?
I experienced the same behaviour... any update on this?