Code Monkey home page Code Monkey logo

Comments (5)

lepture avatar lepture commented on August 16, 2024

@hqman API changed? 以前是请求 ws://...../livereload 的呀。

from python-livereload.

dvdotsenko avatar dvdotsenko commented on August 16, 2024

http://feedback.livereload.com/knowledgebase/articles/86174-livereload-protocol

LiveReload server MUST speak web sockets and HTTP on the same port. The port number SHOULD be 35729.
Web socket connections MUST use /livereload as the path to connect to (e.g. ws://localhost:35729/livereload).

I have seen Chrome extensions in the wild that uses /websocket and therefore fails to work per standard.

Was /websocket some earlier standard?

from python-livereload.

lepture avatar lepture commented on August 16, 2024

@dvdotsenko maybe. It is /livereload when I started this project.

from python-livereload.

dvdotsenko avatar dvdotsenko commented on August 16, 2024

I asked Tarantsev (dude that wrote LiveReload) about /websocket.

He did not recognize it as part of an established spec, but guessed it was some sort of "extension for 1.6 protocol"

He also updated the LiveReload plugin in Chrome extension marketplace to the latest one, so that complains about "/websocket" should disappear.

from python-livereload.

lepture avatar lepture commented on August 16, 2024

@dvdotsenko I see. Thx.

from python-livereload.

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.