@@ -27,8 +27,7 @@ const config = require( '../config/webpack.config.dev' );
2727const resolvePkg = require ( 'resolve-pkg' ) ;
2828const cgbDevUtilsPath = resolvePkg ( 'cgb-dev-utils' , { cwd : __dirname } ) ;
2929const clearConsole = require ( cgbDevUtilsPath + '/clearConsole' ) ;
30- const formatWebpackMessages = require ( cgbDevUtilsPath +
31- '/formatWebpackMessages' ) ;
30+ const formatWebpackMessages = require ( cgbDevUtilsPath + '/formatWebpackMessages' ) ;
3231
3332// Don't run below node 8.
3433const currentNodeVersion = process . versions . node ;
@@ -85,19 +84,14 @@ async function build( webpackConfig ) {
8584 console . log ( '\n❌ ' , chalk . black . bgRed ( ' Failed to compile. \n' ) ) ;
8685 const logErrors = console . log ( '\n👉 ' , messages . errors . join ( '\n\n' ) ) ;
8786 console . log ( '\n' ) ;
88- spinner . start (
89- chalk . dim (
90- 'Watching for changes... let\'s fix this... (Press CTRL + C to stop).'
91- )
92- ) ;
87+ spinner . start ( chalk . dim ( 'Watching for changes... let\'s fix this... (Press CTRL + C to stop).' ) ) ;
9388 return logErrors ;
9489 }
9590
9691 // CI.
9792 if (
9893 process . env . CI &&
99- ( typeof process . env . CI !== 'string' ||
100- process . env . CI . toLowerCase ( ) !== 'false' ) &&
94+ ( typeof process . env . CI !== 'string' || process . env . CI . toLowerCase ( ) !== 'false' ) &&
10195 messages . warnings . length
10296 ) {
10397 console . log (
@@ -119,7 +113,8 @@ async function build( webpackConfig ) {
119113 chalk . white ( 'run build\n' )
120114 ) ;
121115 return spinner . start (
122- `${ chalk . dim ( 'Watching for changes... (Press CTRL + C to stop).' ) } `
116+ `${ chalk . dim ( 'Watching for changes... (Press CTRL + C to stop).' ) } ` ,
117+ `${ chalk . dim ( '\n Support Awais via VSCode Power User at https://VSCode.pro →' ) } `
123118 ) ;
124119 } ) ;
125120}
0 commit comments