Trying to execute as scoped execution like:
sls offline start --exec "./runTests.sh" --config serverless-functions.yml
This still opens up interactive window. Shell scripts won't be executed.
in yml config:
useDocker: true
to make it work with golang.
sls offline version: 6.0.0-alpha.66
Exec is not supposed to work in v6, but is added to the roadmap.
hey @dherault is there an ETA for "--exec" to be added to v6?
Where can we see the roadmap?
We had a similar issue but have switch to using this package instead to replace the functionality:
https://www.npmjs.com/package/start-server-and-test
@jacsamell do you have an example?
start-server-and-test is timing out for me even though serverless-offline says it is ready
thanks
Most helpful comment
We had a similar issue but have switch to using this package instead to replace the functionality:
https://www.npmjs.com/package/start-server-and-test