Code Monkey home page Code Monkey logo

watchtemplate's Introduction

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.
  2. Execute:
    watch-template
    
  3. This will start local ASP.NET server on https://localhost:5001.
  4. Open browser and enter https://localhost:5001.
  5. Modify and save template files in your favorite editor.
  6. 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.

watchtemplate's People

Contributors

davidkarlas avatar

Stargazers

Badger avatar Jesse Talavera avatar Kirill Osenkov avatar

Watchers

 avatar James Cloos avatar  avatar

watchtemplate's Issues

Don't use port 5001

Currently the tool listens on port 5001, this is the port that new asp.net core web project listen on. We should change the port number that this tool listens on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.