jkroso / atom-browser-refresh-on-save

A plugin for Atom which reloads assets in the browser as soon as you save them
7 stars 3 forks source link

CSS config? #14

Open moondawg69 opened 7 years ago

moondawg69 commented 7 years ago

I have a remote site/folder loaded to the filesystem via Transmit. Working in Atom, save etc.

Trying out your package, using latest Chrome stable on Sierra. CMD-S to save a CSS file, nothing refreshes. Am I missing something?

jkroso commented 7 years ago

Well the url of the page you have open in chrome needs to start with either file: or http://localhost https://github.com/jkroso/atom-browser-refresh-on-save/blob/6f98f53ef3138a6a55928ce1de5835fa06fa3cc7/plugin.coffee#L78

And the page needs to be the active tab in chrome but otherwise what your doing should work