Skip to content

Commit

Permalink
Merge pull request #131 from Gregoirevda/patch-1
Browse files Browse the repository at this point in the history
Add lifecycle hook for serverless offline start
  • Loading branch information
HyperBrain authored Jul 2, 2017
2 parents a91b4f5 + 78c67ed commit c72c3c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ class ServerlessWebpack {
'before:offline:start': () => BbPromise.bind(this)
.then(this.validate)
.then(this.wpwatch),

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

};
}
}
Expand Down

0 comments on commit c72c3c5

Please sign in to comment.