블레이저 핫 리로드

요즘, 블레이저를 배우고 있는데, xaml 계열의 핫 리로드와 블레이저의 핫 리로드가 좀 많이 다른 것 같습니다.

아래 두 개의 코드는 “/” 페이지에서 태그의 위치만 변경한 것으로, 핫 리로드로 인해 화면이 달라질 것을 기대했지만, 적용이 안되더군요.

이 경우, 안되는 것이 맞는지요?
아니면, 되는 게 정상인데 제 개발 환경에서 설정의 문제가 있는 것인지요?

<div class="input-group mb-3">
    <input type="text" class="form-control" placeholder="Item name">
    <button class="btn btn-outline-secondary" type="button">Button</button>
</div>
<br/>
<FruitList Keywords="apple"/>
<FruitList Keywords="apple"/>
<div class="input-group mb-3">
    <input type="text" class="form-control" placeholder="Item name">
    <button class="btn btn-outline-secondary" type="button">Button</button>
</div>
<br/>
1개의 좋아요

Visual Studio 2022 17.5.4 버젼에서는 Razor의 핫 리로드가 잘 동작하지만

17.6.0 Preview 3.0에서는 저도 동작하지 않는 것을 확인하였습니다. VS 버젼을 살펴 보시겠어요?

이와 상관없이 프로젝트 경로에서 dotnet watch로 핫 리로드를 사용할 수 있습니다.

2개의 좋아요

저도 17.6.0 입니다.
dotnet watch 로는 변경이 적용되는 것 같네요.

VS2022 에서는 아래의 메시지만 보이네요.
image

launchSettings.json 파일에, 핫 리로드 추가해도 마찬가로 안되네요.
image

1개의 좋아요