summaryrefslogtreecommitdiff
path: root/docs/pages
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages')
-rw-r--r--docs/pages/1 - Intro to Mill.md4
-rw-r--r--docs/pages/2 - Configuring Mill.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md
index 022bc212..20fe83b8 100644
--- a/docs/pages/1 - Intro to Mill.md
+++ b/docs/pages/1 - Intro to Mill.md
@@ -181,6 +181,10 @@ $ mill --watch foo.compile
$ mill --watch foo.run
```
+Mill's `--watch` flag watches both the files you are building using Mill, as
+well as Mill's own `build.sc` file and anything it imports, so any changes to
+your `build.sc` will automatically get picked up.
+
## Command-line Tools
Mill comes built in with a small number of useful command-line utilities:
diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md
index 8fee9354..bfe7a8db 100644
--- a/docs/pages/2 - Configuring Mill.md
+++ b/docs/pages/2 - Configuring Mill.md
@@ -264,7 +264,7 @@ object foo extends ScalaModule {
super.compile()
}
def run(args: String*) = T.command{
- println("Running... + args.mkString(" "))
+ println("Running..." + args.mkString(" "))
super.run(args:_*)
}
}