-
Notifications
You must be signed in to change notification settings - Fork 63
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
Channels compatibility #10
Comments
No, it doesn't work with channels (yet). Unfortunately channels patches out the runserver command in an incompatible way. Probably not a huge fix if someone has the need and the time to fix it. |
HELLO .... to make it work with channels .. do this in you wsgi.py file :
|
Have you tried it and it works? Because that wasn't the problematic thing, it had to do with |
@tjwalch for me the runserver command never works ... i always do runserver in a terminal an livereload on another |
Yes that's how you need to do it, it is two processes as stated in the instructions. But you need livereload-servers's patched runserver to get livereloads on python file changes. And this wasn't working with channels. |
it's working normally ... in fact i stopped doing this hack all together, i just cloned the repo instead of using the pip install method and it's working just fine without any modifications.... |
If livereload-server was working properly the |
it's working without a problem i tool the picture as soon as i started the server that's why you didn't see it the issue that needs to be fixed isn't the server not starting issue ... it's working normally and i've been using it, the issue that needs to be fixed is to ignore web socket messages, because every time the server sends a message to the client .. the livereload app is reloading the client PS: |
You don't seem to understand how livereload-server is supposed to work and what's not working with channels. The problem isn't
|
what is wrong with the runserver command ? i mean, everything is working properly for me ... i'm using channels 2 |
Do you get livereload requests when python files are changed and devserver has restarted? According to your printouts you don't. Because the last line output on starting Reload on templates and static files work without livereload-server's |
when i change css js py files the browser reloads automatically .. |
OK. If you submit a PR I will look at it. |
Should this project work with https://channels.readthedocs.io ?
In my attempts django-livereload-server doesn't inject livereload.js, and when doing so manually the refresh is sent out before
./manage runserver
has finished restarting.The text was updated successfully, but these errors were encountered: