Skip to content

Commit

Permalink
fix(serve): use correct livereload port option for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Aug 2, 2018
1 parent 2862762 commit bf3e775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ionic/cli-utils/src/lib/project/ionic1/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Ionic1ServeCLI extends ServeCLI<Ionic1ServeOptions> {
protected async buildArgs(options: Ionic1ServeOptions): Promise<string[]> {
const { pkgManagerArgs } = await import('../../utils/npm');

const args = ['--host', options.address, '--port', String(options.port), '--lr-port', String(options.livereloadPort), '--dev-port', String(options.notificationPort)];
const args = ['--host', options.address, '--port', String(options.port), '--livereload-port', String(options.livereloadPort), '--dev-port', String(options.notificationPort)];

if (this.resolvedProgram === this.program) {
const v1utilArgs = ['serve'];
Expand Down

0 comments on commit bf3e775

Please sign in to comment.