google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Listener for resourceWatcher #807

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to "listen" for resource changes. The most appropriate 
mechanism seems to be LifecycleCallback.

Feature requestion on mailing list:
https://groups.google.com/forum/#!topic/wro4j/atHufcgKgYg

Original issue reported on code.google.com by alex.obj...@gmail.com on 21 Oct 2013 at 7:36

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.7.x

Original comment by alex.obj...@gmail.com on 21 Oct 2013 at 8:48

GoogleCodeExporter commented 9 years ago
To listen for resource change event, register a lifecycleCallback: 
https://code.google.com/p/wro4j/wiki/RegisteringCallbacks which has a new 
callback method: onResourceChanged(Resource).

Original comment by alex.obj...@gmail.com on 22 Oct 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Issue 808 has been merged into this issue.

Original comment by alex.obj...@gmail.com on 22 Oct 2013 at 8:27

GoogleCodeExporter commented 9 years ago
Here is the commit fixing this issue: 
https://github.com/alexo/wro4j/commit/ad7c505a0ddc146edc2b884ece20a9249fd5e93c

Original comment by alex.obj...@gmail.com on 22 Oct 2013 at 8:29