mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
1.0 KiB
1.0 KiB
Bilibili Evolved Dev Tools
Server
Serve components
Serve (watch) contents:
./registry/dist/*->localhost:2333/registry/dist/*: Build on demand, cache 16 items by default../dist/->localhost:2333/dist/*: Build at startup.
WebSocket
Dev server on WebSocket: ws://localhost:2333
Send Messages:
start
{
"type": "start"
}
coreUpdate
{
"type": "coreUpdate",
}
itemUpdate
{
"type": "itemUpdate",
"path": "http://localhost:2333/registry/dist/components/style/auto-hide-sidebar.js"
}
stop
{
"type": "stop",
}
Client
As component:
- name: devClient
- displayName: DevClient
- entry:
- Try connect
ws://localhost:2333 - Debug toolbar (as widget)
- Try connect
- options:
- port:
2333 - updateMode:
reload|noReload|style
- port:
WebSocket
Receive Messages:
startcoreUpdateitemUpdatestop
Debug widget
- Server connection status
- Action: Disconnect / Reconnect
- Support key bindings / LaunchBar actions