Skip to content

Commit 8a2bcbb

Browse files
authored
Merge pull request #261 from dbemiller/master
Replace event-stream with map-stream
2 parents 6274d62 + 0718031 commit 8a2bcbb

File tree

3 files changed

+7
-60
lines changed

3 files changed

+7
-60
lines changed

package-lock.json

+4-57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"ansi-colors": "^2.0.5",
4848
"connect": "^3.6.6",
4949
"connect-livereload": "^0.6.0",
50-
"event-stream": "^3.3.4",
50+
"map-stream": "^0.0.7",
5151
"fancy-log": "^1.3.2",
5252
"send": "^0.16.2",
5353
"serve-index": "^1.9.1",

src/index.coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
path = require("path")
22
fancyLog = require("fancy-log")
33
colors = require("ansi-colors")
4-
es = require("event-stream")
4+
mapStream = require("map-stream")
55
http = require("http")
66
https = require("https")
77
fs = require("fs")
@@ -198,7 +198,7 @@ module.exports =
198198
apps.push(app)
199199
app
200200
reload: ->
201-
es.map (file, callback) ->
201+
mapStream (file, callback) ->
202202
apps.forEach (app) =>
203203
if app.livereload and typeof app.lr == "object"
204204
app.lr.changed body:

0 commit comments

Comments
 (0)