aboutsummaryrefslogtreecommitdiff
path: root/examples/restart/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/restart/Readme.md')
-rw-r--r--examples/restart/Readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/restart/Readme.md b/examples/restart/Readme.md
new file mode 100644
index 0000000..e4bf1b5
--- /dev/null
+++ b/examples/restart/Readme.md
@@ -0,0 +1,10 @@
+This example's main method simply prints the current process id.
+This can be used to experiment with cbt's restart feature
+(the equivalent to sbt-revolver).
+
+```
+cbt direct loop restart
+```
+
+starts the main method in a separate process and kills it, when
+a change in project, build file or cbt is detected.