dapr / dapr/cli

Dapr run does not pass through keyboard input to client process

Open
#978 3 comments 0 reactions 0 assignees View on GitHub
area/cli good first issue help wanted kind/bug P2 size/M triaged/resolved
Dominant language
Go
Stars
353
Forks
221
Avg merge
3d 8h
Merged PRs (30d)
2

Description

## Expected Behavior

I am running a Blazor Server app with the following command-line for enabling hot reload from within a vscode integrated PowerShell terminal:

```
dapr run --app-id blazordaprdemo --components-path "C:\somepath\Components" --app-port 5000 -- dotnet watch --project "C:\somepath\BlazorDaprDemo"
```

In `appsettings.json` I have specified `"Urls": "http://localhost:5000"`. Although `dotnet watch run` is accepting `--url `, this is not accepted by `dotnet watch`.

To enforce a restart one would like to press CTRL-R. And in the case of a rude edit, the hot reload infrastructure wants to get user input.

## Actual Behavior
Unfortunately I am not able to send any keyboard input to this dotnet watch process.

```
dapr --version
CLI version: 1.7.1
Runtime version: 1.7.2
```

Running on Windows 11.
vscode 1.67.0
PowerShell extension v2022.5.1

## Release Note

RELEASE NOTE: **FIX** Within Dapr run keyboard input is passed through to client process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.