Created
September 14, 2015 13:18
-
-
Save jachwe/3f5aafc0627a78b547b5 to your computer and use it in GitHub Desktop.
Register a grunt taks to start a local mysql server for development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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