diff --git a/build/repo.props b/build/repo.props
index 015f722dd9..9569f0ba08 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -2,9 +2,6 @@
-
-
-
diff --git a/src/dotnet-watch/CommandLineOptions.cs b/src/dotnet-watch/CommandLineOptions.cs
index e6e23890d5..5cbaab33e9 100644
--- a/src/dotnet-watch/CommandLineOptions.cs
+++ b/src/dotnet-watch/CommandLineOptions.cs
@@ -53,6 +53,10 @@ Environment variables:
DOTNET_WATCH
dotnet-watch sets this variable to '1' on all child processes launched.
+ DOTNET_WATCH_ITERATION
+ dotnet-watch sets this variable to '1' and increments by one each time
+ a file is changed and the command is restarted.
+
Remarks:
The special option '--' is used to delimit the end of the options and
the beginning of arguments that will be passed to the child dotnet process.
diff --git a/src/dotnet-watch/DotNetWatcher.cs b/src/dotnet-watch/DotNetWatcher.cs
index 476acfcb43..8431615c1e 100644
--- a/src/dotnet-watch/DotNetWatcher.cs
+++ b/src/dotnet-watch/DotNetWatcher.cs
@@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
+using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.DotNet.Watcher.Internal;
@@ -32,8 +33,13 @@ namespace Microsoft.DotNet.Watcher
cancellationToken.Register(state => ((TaskCompletionSource