Skip to content

Commit c72c3c5

Browse files
authoredJul 2, 2017
Merge pull request #131 from Gregoirevda/patch-1
Add lifecycle hook for serverless offline start
2 parents a91b4f5 + 78c67ed commit c72c3c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎index.js

+5
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ class ServerlessWebpack {
123123
'before:offline:start': () => BbPromise.bind(this)
124124
.then(this.validate)
125125
.then(this.wpwatch),
126+
127+
'before:offline:start:init': () => BbPromise.bind(this)
128+
.then(this.validate)
129+
.then(this.wpwatch),
130+
126131
};
127132
}
128133
}

0 commit comments

Comments
 (0)