Skip to content

Instantly share code, notes, and snippets.

@brianmriley
Created September 18, 2013 20:29
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 brianmriley/6615192 to your computer and use it in GitHub Desktop.
Save brianmriley/6615192 to your computer and use it in GitHub Desktop.
Code block macros in JIRA comments can be created by specifying {code:<language>}my code...{code}
{code:JavaScript}
grunt.loadNpmTasks('grunt-contrib-connect');
...
connect: {
webServer: {
options: {
port: '<%= ports.webServer %>',
base: '<%= buildDir %>',
keepalive: false
}
}
}
...
grunt.registerTask('watch', [ 'build', 'karma:unit', 'connect:webServer', 'delta' ]);
{code}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment