File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 43
43
" server"
44
44
],
45
45
"dependencies" : {
46
+ "ansi-colors" : " ^1.0.1" ,
46
47
"connect" : " ^2.30.0" ,
47
48
"connect-livereload" : " ^0.5.4" ,
48
49
"event-stream" : " ^3.3.2" ,
49
- "gulp-util " : " ^3.0.6 " ,
50
+ "fancy-log " : " ^1.3.2 " ,
50
51
"send" : " ^0.13.2" ,
51
52
"tiny-lr" : " ^0.2.1"
52
53
},
Original file line number Diff line number Diff line change 1
1
path = require (" path" )
2
+ fancyLog = require (" fancy-log" )
3
+ colors = require (" ansi-colors" )
2
4
es = require (" event-stream" )
3
- util = require (" gulp-util" )
4
5
http = require (" http" )
5
6
https = require (" https" )
6
7
fs = require (" fs" )
@@ -142,15 +143,15 @@ class ConnectApp
142
143
143
144
log : (text ) ->
144
145
if ! @silent
145
- util . log util . colors .green (text)
146
+ fancyLog colors .green (text)
146
147
147
148
logWarning : (text ) ->
148
149
if ! @silent
149
- util . log util . colors .yellow (text)
150
+ fancyLog colors .yellow (text)
150
151
151
152
logDebug : (text ) ->
152
153
if @debug
153
- util . log util . colors .blue (text)
154
+ fancyLog colors .blue (text)
154
155
155
156
oldMethod : (type ) ->
156
157
text = ' does not work in gulp-connect v 2.*. Please read "readme" https://github.com/AveVlad/gulp-connect'
You can’t perform that action at this time.
0 commit comments