I'm using Node.js to make a build system in Sublime Text 2 to build JavaScript code. I know how to setup basic build systems in Sublime, but this one is really giving me problems.
JavaScript example code:
var end = 10; for (var i = 0; i < end; i++) { console.log("hello world!"); }; 1st try:
{ "cmd": ["node", "$file"] } returned this in the console: [Finished in 0.1s]
2nd try:
{ "cmd": ["node", "$file", "$file_base_name"], "working_dir": "${project_path:${folder}}", "selector": "#.js" } returns the same thing.
Any help would be much appreciated (I've spend over 2 hours searching google).
EDIT: Fixed For to for : Same result.
forfromForand still same results.