var fs = require('fs'),
    pidFile = __dirname + '/.start.pid',
    fileOptions = { encoding : 'utf-8' };

// start grunt

require(__dirname + '/node_modules/grunt/lib/grunt.js').cli();
fs.writeFileSync(pidFile, process.pid, fileOptions);
process.on('SIGINT', function() {
  var pid = fs.readFileSync(pidFile, fileOptions);

  fs.unlink(pidFile);
  process.kill(pid, 'SIGTERM');
  process.exit();
})

var fs = require('fs'),
    argv = require('minimist')(process.argv.slice(2)),
    pidFile = __dirname + '/.start.pid',
    fileOptions = { encoding : 'utf-8' },
    gruntfile;

// start grunt
gruntfile = (argv.ruby) ? __dirname + '/Gruntfile_ruby_sass.js' : __dirname + '/Gruntfile.js';
require(__dirname + '/node_modules/grunt/lib/grunt.js').cli({
  'gruntfile' : gruntfile
});
fs.writeFileSync(pidFile, process.pid, fileOptions);
process.on('SIGINT', function() {
  var pid = fs.readFileSync(pidFile, fileOptions);

  fs.unlink(pidFile);
  process.kill(pid, 'SIGTERM');
  process.exit();
})

Add support for ruby sass
Add support for ruby sass

Should have been added in this commit but wasn't:

https://github.com/tombye/express_prototype/commit/f6f2338bda9ff55c6ca4e9b19edeb1af5d54899f
