Giter VIP home page Giter VIP logo

Comments (10)

josevalim avatar josevalim commented on June 19, 2024

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

from phoenix_live_reload.

manveru avatar manveru commented on June 19, 2024

well, link.remove() is supposed to do that. but it seems like this function is appending two new <link> tags for every previous tag.

from phoenix_live_reload.

chrismccord avatar chrismccord commented on June 19, 2024

I"m trying to recreate without much luck atm

from phoenix_live_reload.

chrismccord avatar chrismccord commented on June 19, 2024

can you include the entire head of your layout here?

from phoenix_live_reload.

manveru avatar manveru commented on June 19, 2024

I suspect it's a combination of a big CSS files and the server being remote, so it could be a race condition?

from phoenix_live_reload.

manveru avatar manveru commented on June 19, 2024

I can give you access to the server if you want, will PM you via slack.

from phoenix_live_reload.

Gazler avatar Gazler commented on June 19, 2024

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.

from phoenix_live_reload.

chrismccord avatar chrismccord commented on June 19, 2024

@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!

from phoenix_live_reload.

manveru avatar manveru commented on June 19, 2024

I couldn't reproduce the bug anymore, so consider it fixed. Thanks for the help!

from phoenix_live_reload.

chrismccord avatar chrismccord commented on June 19, 2024

1.0.1 has been released, mix deps.update phoenix_live_reload and you are all set!

from phoenix_live_reload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.