Skip to content

Commit

Permalink
fix serverless-offline exec (#155)
Browse files Browse the repository at this point in the history
* fixed serverless-offline exec

* reverted location condition change
  • Loading branch information
jgilbert01 authored and HyperBrain committed Jul 24, 2017
1 parent c7d9cd5 commit b87f028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,12 @@ class ServerlessWebpack {

'before:offline:start': () => BbPromise.bind(this)
.then(this.validate)
.then(this.compile)
.then(this.wpwatch),

'before:offline:start:init': () => BbPromise.bind(this)
.then(this.validate)
.then(this.compile)
.then(this.wpwatch),

};
Expand Down

0 comments on commit b87f028

Please sign in to comment.