I started up a vanilla Karaf 2.2.8, and executed
karaf@root> command-watch info
Thanks for the report Claus. I reproduce and fix.
The problem is an infinite loop on info. As info is a "special" commannd, watching info will result to a kind of infinite loop.
I will add a check to prevent this.
In fact, the issue is not a loop, it's not the good command which is executed.
If you do command-watch shell:info, it works fine, but the info takes the bundle:info alias instead of shell:info.
It works fine on trunk.
After a fresh test, it doesn't work on trunk neither. The scope is not the correct one.