Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidkarlas/watchtemplate
https://github.com/davidkarlas/watchtemplate
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidkarlas/watchtemplate
- Owner: DavidKarlas
- License: mit
- Created: 2021-01-30T14:32:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-30T19:26:27.000Z (almost 4 years ago)
- Last Synced: 2024-12-06T06:43:05.173Z (about 1 month ago)
- Language: C#
- Size: 219 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
watch-template
=====Dotnet tool to watch for file changes inside template folder and display changes inside browser in real-time.
## How to install
Use this command to install watch-template as a .NET global tool:
```
dotnet tool install -g watch-template
```## How to use
1) Navigate to folder which has `.template.config` folder that contains `template.json` file.
1) Execute:
```
watch-template
```
1) This will start local ASP.NET server on https://localhost:5001.
1) Open browser and enter https://localhost:5001.
1) Modify and **save** template files in your favorite editor.
1) Observe instant diff in your browser.## How to develop
1) Open solution/project.
2) Set "Working Directory" to folder which has `.template.config` folder that contains `template.json` file.
3) Start debugging.## License
`watch-template` is available under MIT license.For more information see the [License file](LICENSE).