Code Monkey home page Code Monkey logo

Comments (5)

kbuilds avatar kbuilds commented on June 29, 2024

I am also running to this same issue. The --livereload-port argument does not seem to be working

from django-livereload-server.

kbuilds avatar kbuilds commented on June 29, 2024

Looks like I found the answer to this exact issue.

From the docs:

Add 'livereload' to the INSTALLED_APPS, before 'django.contrib.staticfiles' if this is used:

Looks like you are not installing this above the "staticfiles" app

from django-livereload-server.

kbuilds avatar kbuilds commented on June 29, 2024

After some further investigation, the only way that I could reliably set the port to affect the script in the middleware and the livereload server itself was in the settings.

I added LIVERELOAD_PORT = 1234 in my settings.

from django-livereload-server.

morenoh149 avatar morenoh149 commented on June 29, 2024

so the docs need updating

from django-livereload-server.

kbuilds avatar kbuilds commented on June 29, 2024

If I were the maintainer, I would remove the --livereload-port argument from the ./manage.py command altogether. I think that it adds confusion, because it can only possibly control the port that the Django development server knows about. The Tornado server, which I think is what runs when you do ./manage.py livereload doesn't know what port you specified in the other ./manage.py command.

That's why I think it makes sense to just drop these parameters, and just set all of these settings under the settings.py file.

from django-livereload-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.