Croway commented on pull request #6522:
URL: https://github.com/apache/camel/pull/6522#issuecomment-991757137


   > The fileWatcherDirectory was the old name, we can give it a better and 
shorter name.
   > 
   > Also I think the plugin should default to reload automatic, and automatic 
select the src/main/resources directory. There is a way via a maven plugin to 
get hold of "resource directory" but I guess that 99% its always 
src/main/resources anyway.
   > 
   > For java routes then its a bit more tricky as they would be in 
src/main/java. So we can in the future have some kind of watcher that automatic 
detects all .java source files and whether they are Camel routes.
   
   Thanks, I have implemented your comment, moreover I had to do some changes 
to RouteWatcherReloadStrategy in order to handle recursive live reload, and I 
did some changes in case of file removal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to