We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51f7381 + f8ae235 commit 70c77e9Copy full SHA for 70c77e9
lib/commands/start.js
@@ -225,15 +225,15 @@ module.exports = Command.extend({
225
project
226
});
227
228
- return runHook('beforeBuild', {}, hookOptions);
+ return runHook('beforeBuild', opts, hookOptions);
229
})
230
.then(() => editXml.addNavigation(project, reloadUrl))
231
.then(() => cdvTarget.validateServe())
232
.then(() => framework.validateServe(opts))
233
.then(() => createLRShell.run(reloadUrl))
234
.then(() => prepare.run({ platforms: [device.platform] }))
235
.then(() => platformTarget.build())
236
- .then(() => runHook('afterBuild', {}, hookOptions))
+ .then(() => runHook('afterBuild', opts, hookOptions))
237
.then(() => platformTarget.run())
238
.then(() => framework.serve(opts))
239
.then(() => editXml.removeNavigation(project, reloadUrl))
0 commit comments