Novolis.IO.Watching
2026.1.1.47
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Novolis.IO.Watching --version 2026.1.1.47
NuGet\Install-Package Novolis.IO.Watching -Version 2026.1.1.47
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.IO.Watching" Version="2026.1.1.47" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.IO.Watching" Version="2026.1.1.47" />
<PackageReference Include="Novolis.IO.Watching" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.IO.Watching --version 2026.1.1.47
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.IO.Watching, 2026.1.1.47"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.IO.Watching@2026.1.1.47
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.IO.Watching&version=2026.1.1.47
#tool nuget:?package=Novolis.IO.Watching&version=2026.1.1.47
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.IO.Watching
Single-file FileSystemWatcher helpers for editor-style reload loops: immediate (SingleFileWatcher) or debounced (DebouncedFileWatcher).
Install
dotnet add package Novolis.IO.Watching
Quick start
using Novolis.IO.Watching;
using var watcher = new DebouncedFileWatcher(debounceMilliseconds: 250);
watcher.FileChanged += path => Reload(path);
watcher.Watch(@"D:\work\chapter.md");
// Later:
watcher.Stop();
Immediate (no debounce):
using var raw = new SingleFileWatcher();
raw.FileChanged += path => Console.WriteLine($"changed: {path}");
raw.Watch(filePath);
API
| Type | Role |
|---|---|
SingleFileWatcher |
Watches one file for change / rename / delete; raises FileChanged with the full path |
DebouncedFileWatcher |
Wraps SingleFileWatcher; coalesces bursts with debounceMilliseconds (default 300) |
Notes
Watchno-ops if the path is empty or the file does not exist yet.- Dispose /
Stoptears down the underlyingFileSystemWatcher. - Debounce uses a cancellable delay task; rapid saves only surface the last path after quiet.
Dogfooding
dotnet run --project ../novolis-dogfooding/apps/io/IoSmoke
Related
| Package | Role |
|---|---|
Novolis.IO.Recovery |
Persist mid-edit buffers to disk snapshots |
Novolis.IO.Workspace |
Root-scoped file access |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.1.53 | 0 | 10/4/2026 |
| 2026.1.1.52 | 0 | 10/4/2026 |
| 2026.1.1.51 | 32 | 10/3/2026 |
| 2026.1.1.50 | 36 | 10/3/2026 |
| 2026.1.1.49 | 37 | 10/2/2026 |
| 2026.1.1.48 | 40 | 10/2/2026 |
| 2026.1.1.47 | 35 | 10/2/2026 |
| 2026.1.1.46 | 39 | 10/2/2026 |
| 2026.1.1.45 | 41 | 10/2/2026 |
| 2026.1.1.36 | 34 | 10/2/2026 |
| 2026.1.1.35 | 38 | 10/1/2026 |
| 2026.1.1.34 | 41 | 9/30/2026 |