diff options
author | Stefan Zeiger <szeiger@novocode.com> | 2016-01-28 19:23:08 +0100 |
---|---|---|
committer | Stefan Zeiger <szeiger@novocode.com> | 2016-02-01 15:21:03 +0100 |
commit | dcc455ad9ce1159fab122d677fda84132f52059d (patch) | |
tree | ace77d9a92c5d94701939aa1cd5d1c4588d57b58 /src/compiler/scala | |
parent | ea154faf467ae27c221ba0dcd7235e1e55673c51 (diff) | |
download | scala-dcc455ad9ce1159fab122d677fda84132f52059d.tar.gz scala-dcc455ad9ce1159fab122d677fda84132f52059d.tar.bz2 scala-dcc455ad9ce1159fab122d677fda84132f52059d.zip |
Document when the `scala` command starts/uses a compilation daemon
Diffstat (limited to 'src/compiler/scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/GenericRunnerCommand.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala index 2584054686..24496fa013 100644 --- a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala +++ b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala @@ -87,7 +87,11 @@ A file argument will be run as a scala script unless it contains only self-contained compilation units (classes and objects) and exactly one runnable main method. In that case the file will be compiled and the main method invoked. This provides a bridge between scripts and standard -scala source.%n""" +scala source. + +When running a script or using -e, an already running compilation daemon +(fsc) is used, or a new one started on demand. The -nc option can be +used to prevent this.%n""" } object GenericRunnerCommand { |