I’m planning a longer post about setting up a dev environment for Moai using a Mac, but for now I thought I’d put out this quick tip about using Sublime. It took me a few minutes to figure this out, as I couldn’t find it in the documentation for the Sublime build command.
When setting up your build command in Sublime, you’ll need to add the shell property to build config object, and set the value to true. Here’s mine:
{ "cmd": ["${project_path:${folder}}/run.sh"], "shell": true }