-
Notifications
You must be signed in to change notification settings - Fork 11
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
Usage with systemjs-hot-reloader #33
Comments
Hi @Widdershin, @OliverJAsh. I'm also interested for this feature, but don't have enough knowledge to handle it. Maybe @capaj and @guybedford could help? I think there is interest on all sides because jspm gives us very good support of combining different plugins and cyclejs is probablly on top of front end patterns at this moment. |
The idea is that you should have a module that exports your main function, and that when that code (or any of the code that main depends upon) changes, a hook should be called that then calls Does that fit into the model systemjs provides? |
It sounds like the |
It would be awesome if someone with some system js experience could take a crack at getting an example running. I'm happy to provide support if any problems pop up |
systemjs-hot-reloader provides a
__reload
hook for each module, which can be used like so:Example taken from alexisvincent/systemjs-hot-reloader#23 (comment)
Do you have any ideas how to make cycle-restart work given this model?
The text was updated successfully, but these errors were encountered: