3 writes to EnvironmentOptions
dotnet-watch (1)
Program.cs (1)
240EnvironmentOptions = environmentOptions,
dotnet-watch.Tests (2)
Watch\BuildEvaluatorTests.cs (1)
28EnvironmentOptions = environmentOptions,
Watch\NoRestoreTests.cs (1)
25EnvironmentOptions = environmentOptions,
25 references to EnvironmentOptions
dotnet-watch (25)
HotReload\AppModels\WebApplicationAppModel.cs (6)
45return new WebAssemblyHotReloadClient(clientLogger, agentLogger, browserRefreshServer, capabilities, targetFramework, context.EnvironmentOptions.TestFlags.HasFlag(TestFlags.MockBrowser)); 61dotnetPath: context.EnvironmentOptions.MuxerPath, 62autoReloadWebSocketHostName: context.EnvironmentOptions.AutoReloadWebSocketHostName, 63autoReloadWebSocketPort: context.EnvironmentOptions.AutoReloadWebSocketPort, 64suppressTimeouts: context.EnvironmentOptions.TestFlags != TestFlags.None); 72if (context.EnvironmentOptions.SuppressBrowserRefresh)
HotReload\HotReloadDotNetWatcher.cs (10)
33var consoleInput = new ConsoleInputReader(_console, context.Options.Quiet, context.EnvironmentOptions.SuppressEmojis); 35var noPrompt = context.EnvironmentOptions.RestartOnRudeEdit; 62using var fileWatcher = new FileWatcher(_context.Logger, _context.EnvironmentOptions); 112var scopedCssFileHandler = new ScopedCssFileHandler(_context.Logger, _context.BuildLogger, projectMap, _context.BrowserRefreshServerFactory, _context.Options, _context.EnvironmentOptions); 573var buildReporter = new BuildReporter(_context.Logger, _context.Options, _context.EnvironmentOptions); 794.WithSeverityWhen(MessageSeverity.Output, _context.EnvironmentOptions.TestFlags.HasFlag(TestFlags.ElevateWaitingForChangesMessageSeverity))); 847_context.EnvironmentOptions, 859_context.EnvironmentOptions, 872Executable = _context.EnvironmentOptions.MuxerPath, 895var workingDirectory = _context.EnvironmentOptions.WorkingDirectory;
Process\ProjectLauncher.cs (1)
27=> context.EnvironmentOptions;
Watch\BuildEvaluator.cs (4)
43new BuildReporter(_context.BuildLogger, _context.Options, _context.EnvironmentOptions)); 47if (!_context.EnvironmentOptions.SuppressMSBuildIncrementalism && 67if (_context.EnvironmentOptions.SuppressMSBuildIncrementalism) 106_context.EnvironmentOptions,
Watch\DotNetWatcher.cs (4)
19if (context.EnvironmentOptions.SuppressMSBuildIncrementalism) 54Executable = context.EnvironmentOptions.MuxerPath, 55WorkingDirectory = context.EnvironmentOptions.WorkingDirectory, 91using var fileSetWatcher = new FileWatcher(context.Logger, context.EnvironmentOptions);