Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 response never finishes #3

Closed
cvan opened this issue Sep 29, 2015 · 2 comments
Closed

404 response never finishes #3

cvan opened this issue Sep 29, 2015 · 2 comments

Comments

@cvan
Copy link

cvan commented Sep 29, 2015

var inject = require('inject-lr-script')
var handler = require('ecstatic')(process.cwd())

http.createServer(function (req, res) {
    return handler(req, inject(res))
}).listen(8000, cb)

And then try to access http://localhost:8000/yolo.html.

@cvan
Copy link
Author

cvan commented Sep 29, 2015

I spent some time trying to rejig things, looked at some other usages of response-stream. I was pretty unsuccessful trying.

@mattdesl
Copy link
Owner

v2 is refactored to use the same new architecture that budo@8 is using. This should probably fix this issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants