Skip to content

Instantly share code, notes, and snippets.

@yyx990803
Created July 3, 2013 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyx990803/5919054 to your computer and use it in GitHub Desktop.
Save yyx990803/5919054 to your computer and use it in GitHub Desktop.
a grunt task for working with an appengine app
grunt.registerTask( 'dev', 'start deving y\'all', function () {
grunt.task.run('watch')
grunt.util.spawn({
cmd: 'dev_appserver.py',
args: ['./app.yaml'],
opts: {
stdio: 'inherit'
}
}, function (err, result, code) {
// this function is required otherwise
// grunt will throw an error
})
grunt.util.spawn({
cmd: 'subl',
args: ['.']
}, function (err, result, code) {})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment