mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Note that there is no auto-reloading of classes in the cable server
This commit is contained in:
parent
7f9c8eec2f
commit
763d499d9e
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue