Skip to content

Commit

Permalink
Replaced event-stream with map-stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbemiller committed Nov 30, 2018
1 parent 6274d62 commit 0718031
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 60 deletions.
61 changes: 4 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"ansi-colors": "^2.0.5",
"connect": "^3.6.6",
"connect-livereload": "^0.6.0",
"event-stream": "^3.3.4",
"map-stream": "^0.0.7",
"fancy-log": "^1.3.2",
"send": "^0.16.2",
"serve-index": "^1.9.1",
Expand Down
4 changes: 2 additions & 2 deletions src/index.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
path = require("path")
fancyLog = require("fancy-log")
colors = require("ansi-colors")
es = require("event-stream")
mapStream = require("map-stream")
http = require("http")
https = require("https")
fs = require("fs")
Expand Down Expand Up @@ -198,7 +198,7 @@ module.exports =
apps.push(app)
app
reload: ->
es.map (file, callback) ->
mapStream (file, callback) ->
apps.forEach (app) =>
if app.livereload and typeof app.lr == "object"
app.lr.changed body:
Expand Down

0 comments on commit 0718031

Please sign in to comment.