views:

15

answers:

0

I've written a plugin with a new artifact "Foo" that goes into the grails-app/foos/ directory. When I create a Foo then run the app, the Foo is picked up nicely ... when I 'touch grails-app/foos/MyFoo.groovy' the class reloads and onChange is called ... but, when I do 'create-foo MySecondFoo' I don't get an onChange call at all - I have to restart the grails app to pick up the new MySecondFoo artifact.

Is there an easy way to load new artifact classes at run-time?