stefanegli/ResxFormatter

Resource file will not reload when changed and saved

Closed this issue · 2 comments

Describe the bug
Resource file will not reload when changed and saved when setting Reload file after saving is set to AfterModification

To Reproduce
Steps to reproduce the behavior:

  • Set "Reload file after saving" to "AfterModification"
  • Change a resource file
  • Save resource file

Expected behavior
Changed resource file is reloaded

Screenshots
n.a.

Desktop (please complete the following information):
n.a.

Smartphone (please complete the following information):
n.a.

Additional context
Line 88 in ResxFormatterPackage.cs should read:
if ((formatter.Run(document.Path) && settings.ReloadFile == ReloadMode.AfterModification)

Thanks. I will try to fix this as soon as possible :-)

The problem is fixed in version 1.2.