title: .NET Core project.json commands - Set ASPNETCORE_ENVIRONMENT
body: <p>From command line, if I run <code>set ASPNETCORE_ENVIRONMENT=Development &amp;&amp; dotnet watch run</code>, my Hosting environment is set to Development.</p>
  
  <p>However, if I add the same line as a command to my project.json file, the hosting environment for the watcher is always production:</p>
  
  <pre><code>"commands": {
    "watch": "set ASPNETCORE_ENVIRONMENT=Development &amp;&amp; dotnet watch run"
  },
  </code></pre>
  
  <p>Are there any arguments I can pass to dotnet run to make the hosting environment Development? I do need this to work as a command.</p>