Skip to content

Commit 5c4202a

Browse files
committed
feat: change wording a little
1 parent eb0e603 commit 5c4202a

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

packages/scripts/src/bin/serve.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function serve(options: ProgramOptions | undefined): void {
4444

4545
// For spinner
4646
const spinner = ora({
47-
text: `initiating ${wpackLogoSmall} development server`,
47+
text: `starting ${wpackLogoSmall} development server`,
4848
spinner: 'dots',
4949
color: 'yellow',
5050
discardStdin: false,
@@ -63,9 +63,9 @@ export function serve(options: ProgramOptions | undefined): void {
6363
serverConfigPath,
6464
} = getProjectAndServerConfig(cwd, options);
6565
console.log(
66-
`${logSymbols.success} ${chalk.bold(
67-
'project config'
68-
)}: ${chalk.cyan(path.relative(cwd, projectConfigPath))}`
66+
`${logSymbols.success} ${chalk.bold('project config')}: ${chalk.cyan(
67+
path.relative(cwd, projectConfigPath)
68+
)}`
6969
);
7070
console.log(
7171
`${logSymbols.success} ${chalk.bold('server config')}: ${chalk.cyan(
@@ -176,18 +176,14 @@ export function serve(options: ProgramOptions | undefined): void {
176176
const name = messages.name;
177177
if (messages.errors.length || messages.warnings.length) {
178178
if (messages.errors.length) {
179-
printErrorHeading(
180-
`${name ? `[${name}] ` : ''}TS ERROR`
181-
);
179+
printErrorHeading(`${name ? `[${name}] ` : ''}TS ERROR`);
182180
messages.errors.forEach(e => {
183181
console.log(e);
184182
console.log('');
185183
});
186184
}
187185
if (messages.warnings.length) {
188-
printWarningHeading(
189-
`${name ? `[${name}] ` : ''}TS WARNING`
190-
);
186+
printWarningHeading(`${name ? `[${name}] ` : ''}TS WARNING`);
191187
messages.warnings.forEach(e => {
192188
console.log(e);
193189
console.log('');

0 commit comments

Comments
 (0)