build - Live console output in Sublime Text 2 -
i managed create simple build configuration project builds , launches it. console freezes during execution , prints messages generated application after close it. build configuration looks this:
{ "cmd": ["${project_path:${folder}}/run.bat"] }
the run.but runs application this:
"%moai_bin%\moai" "config\config.lua" "main.lua"
i had same issue when running moai host sublime text 2 on mac os x , able fix calling
io.stdout:setvbuf("no")
at beginning of lua code, this snippet.
Comments
Post a Comment