Note that there is no auto-reloading of classes in the cable server

上级 7f9c8eec
......@@ -270,6 +270,8 @@ bundle exec puma -p 28080 cable/config.ru
That'll start a cable server on port 28080. Remember to point your client-side setup against that using something like:
`App.cable.createConsumer('ws://basecamp.dev:28080')`.
Beware that currently the cable server will _not_ auto-reload any changes in the framework. As we've discussed, long-running cable connections mean long-running objects. We don't yet have a way of reloading the classes of those objects in a safe manner. So when you change your channels, or the model your channels use, you must restart the cable server.
Note: We'll get all this abstracted properly when the framework is integrated into Rails.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册