I’ve written a script that I use to initialize my development space whenever I log into my computer. One thing that it opens is sublime using the following command:
$> subl3 /path/to/my/project
The problem I’m having is that whenever the script runs it opens sublime 3 for my project but then also opens the project(s) from the last session as well. Ex: After rebooting my computer and the script running 5 times, I have 5 separate windows for the same project open.
I set the following setting in my user preferences:
"hot_exit": false
but this doesn’t seem to work and my old sessions continue to open. It seems to work if I manually close sublime before logging out but I often just logout/shutdown without closing each individual window that I’m using.
Am I missing something?