dotnet / dotnet/XAMLStudio

File modified on disk not reloaded when XAML Studio opened

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
C#
Stars
450
Forks
46
PR merge metrics
No merged PRs in 30d

Description

If you modify a file on disk outside of XAML Studio, it is not reloaded if that file is opened in XAML Studio when XAML Studio is re-opened.

I believe this is due to the caching/auto-save mechanism in XAML Studio, we're just loading the cached content of the file vs. loading fresh content from disk of the file's state.

**_We should only do that in the case that the file is unmodified, as otherwise we could lose in-progress state._**

A separate feature would be having a file watcher for opened files to determine if they're changed outside of XAML Studio while running and warn the user of such like other applications, should create a separate tracking issue for that...

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.