Skip to content

Monitor for model changes

Kristian Karl edited this page Mar 4, 2021 · 7 revisions

graphwalker:watch

The plugin will watch models that are placed in the folder src/main/resources. If a model is changed, it will automatically run the plugin graphwalker:generate-sources

Example

$ mvn graphwalker:watch
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------< org.graphwalker.example:java-prestashop >---------------
[INFO] Building GraphWalker PrestaShop Example 4.3.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- graphwalker-maven-plugin:4.3.1:watch (default-cli) @ java-prestashop ---
[INFO] Watching: /home/krikar/dev/mbt/graphwalker/graphwalker-example/java-prestashop/src/main/resources
[INFO] Watching: /home/krikar/dev/mbt/graphwalker/graphwalker-example/java-prestashop/src/main/resources/images
[INFO] Watching: /home/krikar/dev/mbt/graphwalker/graphwalker-example/java-prestashop/src/main/resources/com
[INFO] Watching: /home/krikar/dev/mbt/graphwalker/graphwalker-example/java-prestashop/src/main/resources/com/prestashop
Clone this wiki locally