Open tibold opened 3 years ago
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.
dotnet watch
A quick solution is to add extra files as:
<ItemGroup> <Watch Include="$(MSBuildThisFileDirectory)**\*.scss" Exclude="node_modules\**" /> </ItemGroup>
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@pranavkm should I add this to the article?
@mkArtakMSFT Can you help reroute this to the correct owners?
@tmat any recommendation about whether the suggestion should be included in the documenation or not?
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.