geofflane/grails-constraints — pull request #12 by samcday (2012-01-24 09:26:45+00:00)
Title: Fix Constraints Auto Reloading

Hi Geoff,

Thank you very much for this excellent plugin.

This pull request adds reload support for Constraints artefacts, to do this the changes were pretty small, I just set up the plugin to watch for utils/*Constraint.groovy resources, and then tweaked the onChange handler a little bit to handle reconfiguring the artefacts.

This might need a little bit more work, as I'm not too sure about the way you're configuring the constraints beans for spring - I'm not sure if the re-registered artefacts will get picked up this way.

Let me know what you think! :)