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

Dev server doesn't autoreload/re-apply theme's monkey patches #21

Open
stevenday opened this issue Jul 30, 2014 · 0 comments
Open

Dev server doesn't autoreload/re-apply theme's monkey patches #21

stevenday opened this issue Jul 30, 2014 · 0 comments

Comments

@stevenday
Copy link
Contributor

It would be a nicer experience developing an alaveteli theme if the dev server auto-reloaded the code you're working on. Currently if you change something in, say, controller_patches.rb you have to stop and start the server before it's picked up and applied. It looks like this is the intention, with sections like: https://github.com/mysociety/alavetelitheme/blob/master/lib/controller_patches.rb#L1-L9 but it doesn't seem to work as intended. Perhaps it's something about when/how this is run? https://github.com/mysociety/alavetelitheme/blob/master/lib/alavetelitheme.rb#L24-L29 (I'm afraid my rails knowledge is a bit too limited to be of more help here)

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

2 participants