{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/DotNetTools/issues/404","repository_url":"https://api.github.com/repos/aspnet/DotNetTools","labels_url":"https://api.github.com/repos/aspnet/DotNetTools/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/DotNetTools/issues/404/comments","events_url":"https://api.github.com/repos/aspnet/DotNetTools/issues/404/events","html_url":"https://github.com/aspnet/DotNetTools/issues/404","id":303502359,"number":404,"title":"Using dotnet watch from launchsettings.json no longer works","user":{"login":"RehanSaeed","id":2270364,"avatar_url":"https://avatars2.githubusercontent.com/u/2270364?v=4","gravatar_id":"","url":"https://api.github.com/users/RehanSaeed","html_url":"https://github.com/RehanSaeed","followers_url":"https://api.github.com/users/RehanSaeed/followers","following_url":"https://api.github.com/users/RehanSaeed/following{/other_user}","gists_url":"https://api.github.com/users/RehanSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/RehanSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RehanSaeed/subscriptions","organizations_url":"https://api.github.com/users/RehanSaeed/orgs","repos_url":"https://api.github.com/users/RehanSaeed/repos","events_url":"https://api.github.com/users/RehanSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/RehanSaeed/received_events","type":"User","site_admin":false},"labels":[{"id":646346262,"url":"https://api.github.com/repos/aspnet/DotNetTools/labels/more-info-needed","name":"more-info-needed","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T14:39:47Z","updated_at":"2018-03-08T16:58:52Z","closed_at":null,"author_association":"NONE","body":"I used to be able to use `dotnet watch` in Visual Studio by adding the following section to `launchSettings.json` and starting the project without debugging using CTRL + F5.\r\n\r\n```\r\n    \"Kestrel (dotnet watch run)\": {\r\n      \"commandName\": \"Executable\",\r\n      \"executablePath\": \"C:\\\\Program Files\\\\dotnet\\\\dotnet.exe\",\r\n      \"commandLineArgs\": \"watch run\",\r\n      \"launchBrowser\": true,\r\n      \"launchUrl\": \"https://localhost:5001/\",\r\n      \"environmentVariables\": {\r\n        \"ASPNETCORE_ENVIRONMENT\": \"Development\"\r\n      }\r\n    },\r\n```\r\n\r\nThis used to work in ASP.NET Core 1.1 but no longer does. The commandName is a new required property that seems to have been added in 2.0 that I have added. I have tried values of `Project` and `Executable` but the project no longer starts. Please can you bring this back as a supported scenario."},"comment":{"url":"https://api.github.com/repos/aspnet/DotNetTools/issues/comments/371551103","html_url":"https://github.com/aspnet/DotNetTools/issues/404#issuecomment-371551103","issue_url":"https://api.github.com/repos/aspnet/DotNetTools/issues/404","id":371551103,"user":{"login":"RehanSaeed","id":2270364,"avatar_url":"https://avatars2.githubusercontent.com/u/2270364?v=4","gravatar_id":"","url":"https://api.github.com/users/RehanSaeed","html_url":"https://github.com/RehanSaeed","followers_url":"https://api.github.com/users/RehanSaeed/followers","following_url":"https://api.github.com/users/RehanSaeed/following{/other_user}","gists_url":"https://api.github.com/users/RehanSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/RehanSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RehanSaeed/subscriptions","organizations_url":"https://api.github.com/users/RehanSaeed/orgs","repos_url":"https://api.github.com/users/RehanSaeed/repos","events_url":"https://api.github.com/users/RehanSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/RehanSaeed/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T16:58:52Z","updated_at":"2018-03-08T16:58:52Z","author_association":"NONE","body":"`dotnet watch run` works perfectly in PowerShell. When I use `\"commandName\": \"Executable\"`, I see a command window pop up and instantly disappear."}}
{"actor":{"display_login":"RehanSaeed"}}