Comments (5)
@hqman API changed? 以前是请求 ws://...../livereload 的呀。
from python-livereload.
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.
@dvdotsenko maybe. It is /livereload
when I started this project.
from python-livereload.
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.
@dvdotsenko I see. Thx.
from python-livereload.
Related Issues (20)
- [E 210111 16:54:46 ioloop:907] Exception in callback functools.partial? HOT 2
- Injection of livereload.js fails when head section is too long
- Run as `python -m livereload` HOT 1
- Fix simple typo: intialized -> initialized
- extension for ssi ?
- @imported stylesheets reloaded relative to html document not relative to parent stylesheet, resulting in 404
- High CPU Usage in container
- tornado.websocket.WebSocketClosedError HOT 4
- add option to open specific files in the browser
- Tests failing HOT 1
- livereload.js can't be found after bundling with pyinstaller HOT 1
- _init_.py in tests/ is empty? HOT 1
- ignores implicitly for no good reason. HOT 1
- PyPI hash mismatch on version 2.6.3 HOT 2
- doesn't start in venv HOT 1
- cannot import in django enve
- 2.6.3: pytest is failing in `tests/test_watcher.py::TestWatcher::test_watch_multiple_dirs` unit HOT 2
- error using livereload with flask HOT 3
- Serve /file.html at both /file and /file.html
- Confusing error for malformed HTML (duplicate head tag) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-livereload.