I am trying to update my build system so when I hit Control/Command B it would launch Corona SDK Simulator and run main.lua.
This all works, but if I am editing a file in a sub folder, it does not work as it does not find main.lua.
On Windows I was able to fix this using:
“working_dir”: “${folder}/”,
But this doesn’t work in OSX.
I have to remove this line or it will not build.
Anyway to get this to work on both Windows & OSX so when I build it will look at the root of whatever folder I have open.