diff --git a/index.js b/index.js index 240f2ebf7..f3d2c86ee 100644 --- a/index.js +++ b/index.js @@ -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), + }; } }