The desktop version of Remix has an odd behavior when editing files in a local git repository.
If I edit a smart contract code, after a few edits it displays the following modal page complaining about the file that I've edited:
This behavior is quite consistent and I get this error every time after I make a few changes. If I click on any of the buttons, the modal closes, but it then reappears again when I make a few more changes.
This happens every few typed characters and is extremely disruptive.
There are no other processes editing this file in the background. So the only explanation that I can think of is that Remix does not recognize its own changes and displays this warning for its own edits.
How to reproduce
Open Remix locally.
Click "Connect to Localhost"
Open a folder with a git repository
Select workspace "localhost"
Try to make a few edits in a smart contract
Software versions
Remix version: Version 1.3.4 (1.3.4.825)
OS: macOS 12.0.1 (21A559) Apple M1 Max
The desktop version of Remix has an odd behavior when editing files in a local git repository.
If I edit a smart contract code, after a few edits it displays the following modal page complaining about the file that I've edited:
This behavior is quite consistent and I get this error every time after I make a few changes. If I click on any of the buttons, the modal closes, but it then reappears again when I make a few more changes.
This happens every few typed characters and is extremely disruptive.
There are no other processes editing this file in the background. So the only explanation that I can think of is that Remix does not recognize its own changes and displays this warning for its own edits.
How to reproduce
Software versions
Remix version: Version 1.3.4 (1.3.4.825) OS: macOS 12.0.1 (21A559) Apple M1 Max