We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12a970a commit 3562931Copy full SHA for 3562931
index.js
@@ -72,6 +72,12 @@ class ServerlessWebpack {
72
'compile',
73
],
74
},
75
+ "watch-compile": {
76
+ type: 'entrypoint',
77
+ lifecycleEvents: [
78
+ 'watch-compile',
79
+ ],
80
+ },
81
package: {
82
type: 'entrypoint',
83
lifecycleEvents: [
lib/wpwatch.js
@@ -51,6 +51,8 @@ module.exports = {
51
if (firstRun) {
52
firstRun = false;
53
callback();
54
+ }else{
55
+ this.serverless.pluginManager.spawn('webpack:watch-compile')
56
}
57
});
58
};
0 commit comments