Skip to content

Instantly share code, notes, and snippets.

@oosugi20
Last active December 24, 2015 15:29
Show Gist options
  • Save oosugi20/6820747 to your computer and use it in GitHub Desktop.
Save oosugi20/6820747 to your computer and use it in GitHub Desktop.
grunt-watch でコンパイルした後にブラウザを自動リロード
module.exports = (grunt) ->
grunt.task.loadNpmTasks 'grunt-shell'
shell:
reload:
command: 'osascript -e \'tell application "Google Chrome" to reload active tab of window 1\''
# apply in watch task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment