Skip to content

Instantly share code, notes, and snippets.

@jachwe
Created September 14, 2015 13:18
Show Gist options
  • Save jachwe/3f5aafc0627a78b547b5 to your computer and use it in GitHub Desktop.
Save jachwe/3f5aafc0627a78b547b5 to your computer and use it in GitHub Desktop.
Register a grunt taks to start a local mysql server for development.
grunt.registerTask('mysql', 'Run MYSQL Server',
function() {
var done = this.async();
var mysql = spawn('mysql.server', ['restart']);
done();
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment