Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
serverless-offline exec is broken #154
This is a Bug Report
Serverless-offline has a nifty feature called scoped execution that can be used for automated integration testing.
This exec feature is currently not working with serverless-webpack because the tests get executed before webpack watch has a chance to compile the source.
The proposed solution is to execute compile after validate and before watch. This will force a compile when serverless-offline is started but before the tests are executed and still support watch for non automated scenarios that do not have the race condition.