Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Reloading of components #85

Open
oberstet opened this issue Jun 26, 2014 · 3 comments
Open

Auto Reloading of components #85

oberstet opened this issue Jun 26, 2014 · 3 comments

Comments

@oberstet
Copy link
Contributor

oberstet commented Jun 26, 2014

"""
No, the real limit is still the youth project: no autoreload for the server (super annoying having to do it manually every time you change the code) and server-side errors in the read JS console, not in the terminal from which you started the server.
"""

To automatically reload a component, three things need to happen:

  1. the filesystem must be watched

  2. the WAMP component must be stopped and restarted

  3. changed Python modules need to be reloaded

  4. is addressed in https://github.com/crossbario/crossbar/tree/master/crossbar/crossbar/platform

  5. is addressed in https://github.com/crossbario/crossbar/blob/master/crossbar/crossbar/common/reloader.py

All of above needs to be wired up.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@oberstet oberstet changed the title Auto Reloading / Error Logging Auto Reloading of components Aug 28, 2014
@oberstet oberstet added this to the 2.0 milestone Nov 2, 2014
@phrfpeixoto
Copy link

Please update the documentation on how to watch guest workers.

@goeddea
Copy link
Contributor

goeddea commented Aug 6, 2015

@phrfpeixoto - Automatic reloading is not implemented yet.

@meejah
Copy link
Contributor

meejah commented Aug 6, 2015

There is the 'watch' option, which is a dict taking 2 keys ('directories', a list of paths, and 'action' which only accepts 'restart'). This only works on OSes with fsnotify; see also http://crossbar.io/docs/Guest-Configuration/

@oberstet oberstet modified the milestones: 2.0, 0.12.0 Aug 23, 2015
@oberstet oberstet modified the milestones: 0.12.0, 0.13.0 Aug 30, 2015
@oberstet oberstet removed this from the 0.13.0 milestone Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants