File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var server = http.createServer(app.callback());
31
31
*/
32
32
33
33
server . listen ( port , ( ) => {
34
- console . log ( '\nThe node appliaction is listening at' , `http://localhost:${ port } \n` ) ;
34
+ console . log ( '\n[Rephic] The node appliaction is listening at' , `http://localhost:${ port } \n` ) ;
35
35
} ) ;
36
36
server . on ( 'error' , onError ) ;
37
37
server . on ( 'listening' , onListening ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const webpack = require('webpack');
2
2
const chalk = require ( 'chalk' ) ;
3
3
const webpackProdConfig = require ( './webpack.prod' ) ;
4
4
5
- console . log ( chalk . yellow ( 'Webpack mode:' , webpackProdConfig . mode ) ) ;
5
+ console . log ( chalk . yellow ( '[Rephic] Webpack mode:' , webpackProdConfig . mode ) ) ;
6
6
7
7
const compiler = webpack ( webpackProdConfig ) ;
8
8
compiler . run ( ( err , stats ) => {
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ gulp.task('watch', () => {
12
12
process . env . NODE_ENV = 'development' ;
13
13
const compiler = webpack ( webpackDevConfig ) ;
14
14
15
- console . log ( chalk . yellow ( 'Webpack mode:' , webpackDevConfig . mode ) ) ;
16
- console . log ( chalk . yellow ( 'Webpack is building...' ) ) ;
15
+ console . log ( chalk . yellow ( '[Rephic] Webpack mode:' , webpackDevConfig . mode ) ) ;
16
+ console . log ( chalk . yellow ( '[Rephic] Webpack is building...' ) ) ;
17
17
18
18
let first = true ;
19
19
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const router = require('./router');
10
10
11
11
const app = new Koa ( ) ;
12
12
13
- console . log ( 'process.env.NODE_ENV: ' , process . env . NODE_ENV ) ;
13
+ console . log ( '[Rephic] process.env.NODE_ENV === ' , process . env . NODE_ENV ) ;
14
14
15
15
// error handler
16
16
onerror ( app ) ;
You can’t perform that action at this time.
0 commit comments