-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with dotnet watch
and launchSettings.json
#46596
Comments
Is there a reason you're not just doing: |
I know about that, and it is fine in the CLI. But because IDEs and in my case Rider detect this profiles and I want to access watch profile inner my IDE not CLI, right now Rider show me |
Does it work from the command line and not in rider? |
This command |
@davidfowl According to this article I changed "Catalogs.Api.Watch": {
"commandName": "Executable",
"executablePath": "dotnet",
"workingDirectory": "$(ProjectDir)",
"hotReloadEnabled": true,
"hotReloadProfile" : "aspnetcore",
"commandLineArgs": "watch run -lp Catalogs.Api.Http",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
} And it works with correct |
This doesn't seem to be issue with dotnet-watch, or is it? If the launchProfile docs are incomplete, please file an issue on the documentation page. |
Hi,
I have this
launchSettings.json
file:My problem is, when I want to run my watch with this command
dotnet run -lp Catalogs.Api.Watch
it bypasses my port that it passed in another lunchprofile-lp Catalogs.Api.Http
to mywatch run
. I expect it run on myCatalogs.Api.Http
profile port that is port4000
but my watch always run on port5000
The text was updated successfully, but these errors were encountered: