Hi,
When developing a Grails plugin, you can configure it to reload using either the watchedResources
or observe
properties. From my reading of the official docs, it seems that the former will cause the plugin to reload when a file changes, and the latter when a plugin changes, is that correct?
Say for example, a plugin needs to reload itself any time a Grails service changes, are the following equivalent?
def watchedResources = "file:./grails-app/services/*Service.groovy"
def observe = ["services"]
Thanks, Don