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

Sente in advanced compilation mode #27

Closed
ostronom opened this issue Apr 17, 2014 · 5 comments
Closed

Sente in advanced compilation mode #27

ostronom opened this issue Apr 17, 2014 · 5 comments

Comments

@ostronom
Copy link

When compiled in advanced mode, Sente doesn't even tries to establish WebSocket connection or long-polling ajax call. It falls back to ajax POST's.

Should i tweak something in cljsbuild configuration?

@ptaoussanis
Copy link
Member

Hi there,

Advanced mode shouldn't be a problem (I run it in Advanced mode). Could you get me some more information to help debug?

  • What version are you running?
  • Have you tried lein clean and lein cljsbuild clean?
  • What console output are you seeing?
  • Are you seeing any ClojureScript compilation errors/warnings?
  • How do you know that it's Sente, specifically, that's causing the problem?

@ostronom
Copy link
Author

I've tried both 0.9.0 and 0.10.0.Yes, i do run both cleans. I don't see any compilation warnings or errors.

That's because i'm logging everything on client and server sides. In simpel mode i see "port open" messages and WS connection in dev tools. In advanced mode I can't see them. The only difference between these two tests is compilation mode. So, i really think that this is Sente's issue.

@ptaoussanis
Copy link
Member

Ahh, I see the problem - give me a few mins.

@ptaoussanis
Copy link
Member

Okay, just pushed v0.10.1 which should fix this. Thanks a lot for bringing it to my attention - have been running an older version in prod that wasn't affected.

Cheers! :-)

@ostronom
Copy link
Author

Thank you very much! :)

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