henriksen / kmon

Other
28 stars 5 forks source link

How to make it work? #12

Open zhouhao27 opened 9 years ago

zhouhao27 commented 9 years ago

I followed the instruction but still failed to start. What I did:

  1. dnu install kmon
  2. Modify the command in Project.json:

    "commands": { "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000", "kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5001", "gen": "Microsoft.Framework.CodeGeneration", "mon" : "kmon --ext cs,json,js,cshtml --server kestrel" } When I run dnx . mon, I got the following error message:

Error: Unable to load application or execute command '.'. Available commands: web, kestrel, gen, mon.

But When I run dnx mon, I got:

Starting dnx . --watch web, will restart it if it stops. Press Ctrl+C to quit. Error: Unable to load application or execute command '.'. Available commands: web, kestrel, gen, mon. Process stopped with exitcode 1 Restarting...

I'm running this in my mac OS X with the latest kmon(0.51 beta). Can you help? Thanks.

cgwyllie commented 8 years ago

+1