Git Product home page Git Product logo

dotnetmon's Introduction

DotNetMon

DotNetMon is an "in-process file watcher" for .NET

It's like nodemon but for use in .NET and written in F#

Instalation

At this time there is no NuGet package or any other way of install, build from source and add the exec file in your path.

##Usage DotNetMon wraps the starting of web server, so you can run dotnetmon in the project directory:

> dotnetmon -e cs,cshtml

###Defaults By default dotnetmon runs kestrel in "." path.

###Runing web use the --server option for select a server from your project.json file:

> dotnetmon -e cs,cshtml --server web

###Running other processes

DotNetMon can also be used to execute other programs:

> dotnetmon -e txt,py --exec python app.py

##TODO This is a proof of concept, there is no tests yet and I'm still learning F#, so the code, and the solution itself, maybe wrong or complex, so, Forks and Pull Requests appreciated!

  • Add tests
  • Add all options avalible in nodemon

Why

The other day I saw this jeremydmiller's tweet and I tought it would be great to build one.

###hey, do you know kmon?

Yeah, I know kmon "solves" the problem, but is only a wrapper around nodemon and looks like don't will remove this dependency

###hey, do you know the --watch option?

Yeah, I know you can use --watch kestrel but this only watch for file change and stop the server... anithing more, and looks like is not working on OSX

##Tech DotNetMon uses the FSWatcher library for watch file changes. FSWatcher looks as the best option written in C# and working well on Mono.

At this time is using a dll reference because there is no nuget package

dotnetmon's People

Watchers

James Cloos avatar RG avatar

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.