Joined March 2012
·
Posted to
Simple Grunt Task to reload Chrome on OS X
over 1 year
ago
@eskimoblood Never tried it with other browsers, but I would assume that the command is Chrome specific. Let me know when you try it.
Posted to
Simple Grunt Task to reload Chrome on OS X
over 1 year
ago
@eskimoblood Right, there are a few plug-ins which do it in a similar manner. Both solve this problem differently:
grunt-macreload changes the windows focus to the browsers, refreshes it and then refocuses your editor. I do not want my Editor to lose focus so instead I am using a Chrome specific refresh command.
grunt-reload uses WebSockets and some code injection. This might be OK for you, but I want to see my page and only its resources during development just like an end-users would see it.
Achievements
508 Karma
23,876 Total ProTip Views

Raven
Have at least one original repo where some form of shell script is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Python
Would you expect anything less? Have at least one original repo where Python is the dominant language

Altruist
Increase developer well-being by sharing at least 20 open source projects

Narwhal 3
Have at least three original repos where Clojure is the dominant language

Forked
Have a project valued enough to be forked by someone else

Narwhal
Have at least one original repo where Clojure is the dominant language

Komodo Dragon 3
Have at least three original repos where Java is the dominant language

Komodo Dragon
Have at least one original repo where Java is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Charity
Fork and commit to someone's open source project in need
@smartalec43 Thank you, I fixed it!