I started up a vanilla Karaf 2.2.8, and executed
karaf@root> command-watch info
After a fresh test, it doesn't work on trunk neither. The scope is not the correct one.
It works fine on trunk.
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.
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.
Thanks for the report Claus. I reproduce and fix.