dotnet / dotnet/AspNetCore.Docs

Dotnet watch in referenced projects.

Open
#20,711 3 comments 0 reactions 1 assignee Claimed by @tmat View on GitHub
re-Artak Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

Custom watch documentation does not work for referenced projects.

If you use relative path or glob patterns, `dotnet watch` will end up looking for those files relative to it's own working directory.

A quick solution is to add extra files as:

```



```

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 75e3163f-1903-f2c7-8909-d34f917944bf
* Version Independent ID: 55aae418-9d32-5b2b-1df7-5e4e76313ec4
* Content: [Develop ASP.NET Core apps using a file watcher](https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-5.0#dotnet-watch-configuration)
* Content Source: [aspnetcore/tutorials/dotnet-watch.md](https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/tutorials/dotnet-watch.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-tutorials**
* GitHub Login: @Rick-Anderson
* Microsoft Alias: **riande**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.