Skip to content

Instantly share code, notes, and snippets.

@vladikoff
Last active December 15, 2015 10:39
Show Gist options
  • Save vladikoff/5247108 to your computer and use it in GitHub Desktop.
Save vladikoff/5247108 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',
'coffee:dist',
'compass:server',
'livereload-start',
'connect:livereload',
'open',
'watch'
]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment