Details
-
Feature Request
-
Resolution: Done
-
Major
-
4.1.0.Beta1
Description
LiveReload currently refreshes a page immediately as changes are deployed (at least I guess so).
However it takes some time to WildFly container, JRebel or JSF implementation to reflect those changes. I'm getting following error:
Warning: This page calls for XML namespace http://jsflive.at/taglib declared with prefix jl but no taglibrary exists for that namespace.
That means the taglibrary configuration in JSF subsystem wasn't initialized correctly (seems like a consequence of JRebel configuration reloading):
11:10:19,153 INFO [stdout] (default task-46) 2013-06-25 11:10:19 JRebel: Reloading configuration
I propose to add a "refresh delay" which will serve as a delay for runtime to reflect changes and which will be configurable by user considering his use case.
For record, I have tried to use command line guard-livereload with following configuration with 2 sec. grace period and everything works fine then - changes are reflected after delayed update:
guard 'livereload', :grace_period => 2 do watch(%r{.+\.(css|js|html|xhtml|json)}) end
Attachments
Issue Links
- is related to
-
JBIDE-14964 LiveReload doesn't reload when JRebel is used, because resources are "never published automatically"
- Closed