Last active
December 24, 2015 15:29
-
-
Save oosugi20/6820747 to your computer and use it in GitHub Desktop.
grunt-watch でコンパイルした後にブラウザを自動リロード
This file contains hidden or 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
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