8.10. dev:watch, watch

Abstract

watches and automatically updates bundles

Synopsis

dev:watch [ --help ] [[ --start ] | [ --stop ]] [ -i interval ] [ --list ] [ --remove ] { bundles ...}

Arguments

Table 8.10, “dev:watch Arguments” describes the commands arguments.

Table 8.10. dev:watch Arguments

ArgumentInterpretation
--helpDisplays the online help for this command
--stopStop watching the specified bundles
--startStart watching the specified bundles
-iSpecifies the interval, in milliseconds, to check the bundles.
--listList the bundles being watched.
--removeRemove the specified bundles from the watch list.
bundles...Specifies a whitespace delimited list of bundle URLs or bundle IDs.
Important
Only Maven URLs and Maven snapshots will be updated automatically. So, if you run
JBossA-MQ:karaf@root> dev:watch *
You are monitoring all bundles that have a location matching mvn:* that have -SNAPSHOT in their URL.