summaryrefslogtreecommitdiff
path: root/docs/pages/6 - Extending Mill.md
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-17 11:41:45 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-17 11:41:45 -0800
commit650ab9c937159cd31721e576f7174c8167f19a70 (patch)
tree758f2692605f80d586408f7f76e9714ba1f2a77a /docs/pages/6 - Extending Mill.md
parentb2482da1c24afea76b575345c028b38dde8b8b02 (diff)
downloadmill-650ab9c937159cd31721e576f7174c8167f19a70.tar.gz
mill-650ab9c937159cd31721e576f7174c8167f19a70.tar.bz2
mill-650ab9c937159cd31721e576f7174c8167f19a70.zip
docs
Diffstat (limited to 'docs/pages/6 - Extending Mill.md')
-rw-r--r--docs/pages/6 - Extending Mill.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/pages/6 - Extending Mill.md b/docs/pages/6 - Extending Mill.md
index 299d8e76..d5ec2dbc 100644
--- a/docs/pages/6 - Extending Mill.md
+++ b/docs/pages/6 - Extending Mill.md
@@ -64,6 +64,10 @@ def doWebpackStuff(webpackProcess: Process, sources: Seq[PathRef]): PathRef = ??
def compiledJavascript = T{ doWebpackStuff(webpackWorker(), javascriptSources()) }
```
+Mill itself uses `T.worker`s for it's built-in Scala support: we keep the Scala
+compiler in memory between compilations, rather than discarding it each time, in
+order to improve performance.
+
## Custom Modules
```scala