Dotnet tool to watch for file changes inside template folder and display changes inside browser in real-time.
Use this command to install watch-template as a .NET global tool:
dotnet tool install -g watch-template
- Navigate to folder which has
.template.config
folder that containstemplate.json
file. - Execute:
watch-template
- This will start local ASP.NET server on https://localhost:5001.
- Open browser and enter https://localhost:5001.
- Modify and save template files in your favorite editor.
- Observe instant diff in your browser.
- Open solution/project.
- Set "Working Directory" to folder which has
.template.config
folder that containstemplate.json
file. - Start debugging.
watch-template
is available under MIT license.
For more information see the License file.