Closed
Description
Describe the bug
The saved versoin of the sketch is always compiled, even when there are unsaved changes in the editor.
To Reproduce
Steps to reproduce the behavior:
- File > Preferences
- Uncheck the box next to "Auto save".
- Click the "OK" button.
- Open a sketch that will compile without errors (e.g., File > New).
- Make changes to the sketch code that would cause a compilation failure. Don't save.
- Sketch > Verify/Compile. The compilation passes.
Expected behavior
The sketch code in the editor should be compiled, as is done in the Arduino IDE.
Desktop (please complete the following information):
- OS: Windows 10
- Version: 0.1.4
Date: 2021-02-10T12:24:17.658Z
CLI Version: 0.15.2 alpha [0d4cb150]