Closed manveru closed 9 years ago
Thank you! Is it because we need to remove the old stylesheet around here? https://github.com/phoenixframework/phoenix_live_reload/blob/master/priv/static/phoenix_live_reload.js#L1
well, link.remove()
is supposed to do that. but it seems like this function is appending two new <link>
tags for every previous tag.
I"m trying to recreate without much luck atm
can you include the entire head
of your layout here?
I suspect it's a combination of a big CSS files and the server being remote, so it could be a race condition?
I can give you access to the server if you want, will PM you via slack.
We fixed this over IRC - but for future readers, if you are using vim then the following will fix it:
set backupcopy=yes
To fix it permanently put that in your vimrc file.
@manveru fixed on master. Please set vim back to whatever write mode it was doing and verify the fix, then I'll push a new release. Thanks!
I couldn't reproduce the bug anymore, so consider it fixed. Thanks for the help!
1.0.1 has been released, mix deps.update phoenix_live_reload
and you are all set!
There seems to be a bug in the live reloading, here's my
<head>
after saving a CSS file 5 times (without making any changes).