dotnet / dotnet/hotreload-utils

Support multi-file changes

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
46
Forks
27
Avg merge
14d 10h
Merged PRs (30d)
6

Description

The `WatcherHotReloadService` can generate deltas for an entire solution. So we should be able to support:
1. Changes to multiple source documents from a single project
2. Changes in multiple projects in a solution.

There are a couple of issues:
* [ ] Need to support `-msbuild:foo.sln` not just `-msbuild:foo.csproj`
* [ ] extend the json format for multi-file updates
* [ ] extend the DeltaProject machinery (maybe add a DeltaSolution?) so that we can dispatch deltas of different projects to different places.
* [ ] get rid of the single distinguished "output assembly" (ie the baseline of the .csproj that was passed to us on the command line). Right now all the deltas end up with: (1) their name based off the name of that assembly, (2) in the same directory as that assembly.

* [ ] For the live runner, we could debounce the FileSystemWatcher events and group the file updates together.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.