2 writes to UsePollingFileWatcher
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\CertificatePathWatcher.cs (1)
40UsePollingFileWatcher = true,
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
169UsePollingFileWatcher = true;
4 references to UsePollingFileWatcher
Microsoft.Extensions.FileProviders.Physical (4)
PhysicalFileProvider.cs (4)
105throw new InvalidOperationException(SR.Format(SR.CannotModifyWhenFileWatcherInitialized, nameof(UsePollingFileWatcher))); 123/// This property is only effective when <see cref="UsePollingFileWatcher"/> is set. 177watcher = UsePollingFileWatcher && UseActivePolling ? null : new FileSystemWatcher(root); 180return new PhysicalFilesWatcher(root, watcher, UsePollingFileWatcher, _filters)