Sometimes - 3x daily this week - when I compile and upload a sketch, my build directory disappears.
I'm on Mac OSX Big Sur, 11.6.8
Arduino IDE 1.8.1
Arduino prefs say my sketchbook is /Users/Lindsay/Documents/Arduino2/v18.
I notice this when I try to compile a sketch - the libraries are no loinger there so it fails of course.
That makes me assume that Arduino IDE is the thing deleting my folder, but maybe it's not. The folder When this happens, Arduino IDE says something like "Sketchbook folder has disappeared. This is not when I try to load the Arduino IDE - this is while it has been awake and running and in use for hours.
Also, In a shell prompt. I'll be located in the build directory, happily running a little script.
"ls" at my shell prompt suddenly shows no files - it's been pulled out from under me.
I restore it from backup and keep working but this is wierd.
I looked at Issues · arduino/arduino-ide · GitHub but didn't see anything there.
So I'm posting this mostly to see if anyone else has this problem.
I'll try Arduino v 2.0 I guess.