Skip to content

Instantly share code, notes, and snippets.

@consideRatio
Created January 1, 2014 21:38
Show Gist options
  • Save consideRatio/8211759 to your computer and use it in GitHub Desktop.
Save consideRatio/8211759 to your computer and use it in GitHub Desktop.
grunt.registerTask('server', function (target) {
if (target === 'dist') {
return grunt.task.run(['build', 'open', 'connect:dist:keepalive']);
}
grunt.task.run([
'clean:server',
'replace:app',
'concurrent:server',
'neuter:app',
'connect:livereload',
'open',
'watch'
]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment