-
Notifications
You must be signed in to change notification settings - Fork 208
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
Conflict with "connect-livereload" #14
Comments
I get the same issue, not sure if the bug is in Not sure if it's intentional, I'd say it makes sense, although the documentation in
In particular the part saying "regardless of populating the session" is where I get a bit confused compared to the actual behavior. Anyways, it'd be great if we could debug the |
For what it's worth, I ran into the same problem recently. It appears that using the connect-livereload middleware before using the session middleware is causing problems:
By moving the connect-livereload middleware after the session middleware, sessions started working for me again:
|
This is a bug with Live reload should not do that restore without being sure that the values it's overwriting is still it's own. Please file bugs at https://github.com/intesso/connect-livereload |
I'm not too sure why, but
cookie-session
doesn't work if used afterconnect-livereload
. Let me show you what I mean with a simple example.This works:
This instead doesn't work (session values can't be set):
Any hint where the problem might be?
Thanks!
The text was updated successfully, but these errors were encountered: