Skip to content

Commit ef5706e

Browse files
triforcelyMichal Wilski
andauthored
fix: live reload deploys app when warnings are present #4807 (#5043)
Co-authored-by: Michal Wilski <michal.wilski.ext@eloomi.com>
1 parent 05d64e9 commit ef5706e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@ionic/cli/src/lib/project/react/serve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class ReactServeCLI extends ServeCLI<ReactServeOptions> {
112112

113113
const strippedLine = stripAnsi(line);
114114

115-
const compileMsgs = ['Compiled successfully', 'Compiled with warnings', 'Failed to compile'];
115+
const compileMsgs = ['Compiled successfully', 'Compiled with', 'Failed to compile'];
116116
if (compileMsgs.some(msg => strippedLine.includes(msg))) {
117117
this.emit('ready');
118118
return false;

packages/@ionic/cli/src/lib/project/vue/serve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class VueServeCLI extends ServeCLI<VueServeOptions> {
6363
}
6464

6565
const strippedLine = stripAnsi(line);
66-
const compileMsgs = ['Compiled successfully', 'Compiled with warnings', 'Failed to compile'];
66+
const compileMsgs = ['Compiled successfully', 'Compiled with', 'Failed to compile'];
6767
if (compileMsgs.some(msg => strippedLine.includes(msg))) {
6868
this.emit('ready');
6969
return false;

0 commit comments

Comments
 (0)