Skip to content

Commit 4175938

Browse files
committed
Merge remote-tracking branch 'origin/improvement/fs-watching' into improvement/fs-watching
2 parents 1000593 + b4af95f commit 4175938

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/api/src/mill/api/Watchable.scala

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package mill.api
88
*/
99
private[mill] sealed trait Watchable
1010
private[mill] object Watchable {
11+
1112
/** A [[Watchable]] that is being watched via polling. */
1213
private[mill] sealed trait Pollable extends Watchable
1314

runner/daemon/src/mill/daemon/MillMain.scala

+4-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,10 @@ object MillMain {
357357
if (config.watch.value) os.remove(out / OutFiles.millSelectiveExecution)
358358
Watching.watchLoop(
359359
ringBell = config.ringBell.value,
360-
watch = Option.when(config.watch.value)(Watching.WatchArgs(setIdle = setIdle, colors)),
360+
watch = Option.when(config.watch.value)(Watching.WatchArgs(
361+
setIdle = setIdle,
362+
colors
363+
)),
361364
streams = streams,
362365
evaluate = (enterKeyPressed: Boolean, prevState: Option[RunnerState]) => {
363366
adjustJvmProperties(userSpecifiedProperties, initialSystemProperties)

0 commit comments

Comments
 (0)