Skip to content

Commit 8f67ccf

Browse files
authored
chore(serve): deprecate ionic lab (#4930)
1 parent d3fa322 commit 8f67ccf

File tree

1 file changed

+4
-0
lines changed
  • packages/@ionic/cli/src/commands

1 file changed

+4
-0
lines changed

packages/@ionic/cli/src/commands/serve.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ Try the ${input('--lab')} option to see multiple platforms at once.`;
100100
options['lab'] = true;
101101
}
102102

103+
if (options['lab']) {
104+
this.env.log.warn(`The ${input('--lab')} option has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Please visit ${strong('https://ionicframework.com/docs/developing/previewing')} for alternatives to Ionic Lab.`);
105+
}
106+
103107
if (options['nolivereload']) {
104108
this.env.log.warn(`The ${input('--nolivereload')} option has been deprecated. Please use ${input('--no-livereload')}.`);
105109
options['livereload'] = false;

0 commit comments

Comments
 (0)