We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1594f1c + 71f2cbe commit b2fe839Copy full SHA for b2fe839
lib/commands/serve.js
@@ -118,7 +118,7 @@ module.exports = Command.extend({
118
.then(validateAllowNavigation.prepare(true))
119
.then(validatePlatform.prepare())
120
.then(validatePlugin.prepare())
121
- .then(hook.prepare('beforeBuild'))
+ .then(hook.prepare('beforeBuild', options))
122
.then(this._autoFindLiveReloadPort.bind(this, options))
123
.then(function(serveOpts) {
124
@@ -128,7 +128,7 @@ module.exports = Command.extend({
128
return cordovaBuild.run(platform);
129
}
130
})
131
- .then(hook.prepare('afterBuild'))
+ .then(hook.prepare('afterBuild', options))
132
.then(function() {
133
var config = command.project.config(serveOpts.environment);
134
0 commit comments