We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8171c2e commit 92afa99Copy full SHA for 92afa99
test/dotnet-watch.Tests/TestUtilities/WatchableApp.cs
@@ -212,7 +212,13 @@ public void SendKey(char c)
212
213
public void UseTestBrowser()
214
{
215
- EnvironmentVariables.Add("DOTNET_WATCH_BROWSER_PATH", GetTestBrowserPath());
+ var path = GetTestBrowserPath();
216
+ EnvironmentVariables.Add("DOTNET_WATCH_BROWSER_PATH", path);
217
+
218
+ if (!OperatingSystem.IsWindows())
219
+ {
220
+ File.SetUnixFileMode(path, UnixFileMode.UserExecute);
221
+ }
222
}
223
224
public static string GetTestBrowserPath()
0 commit comments