emmetio / livestyle-sublime-old

Live bi-directional CSS edit of new generation
http://livestyle.emmet.io
260 stars 23 forks source link

LiveStyle not always rendering changes? #103

Open jesseleite opened 10 years ago

jesseleite commented 10 years ago

Sometimes I notice my styles don't always get applied to the render in browser. I can't find a rhyme or reason why this is happening, BUT... it seems if I CTRL-A and delete everything in my stylesheet, then CTRL-Z and undo, it forces LiveStyle to reappy ALL styles and updates the rendering as I would expect. I wonder, is LiveStyle only applying specific lines as I change them (for speed purposes)? It would if nice if LiveStyle would always apply whole stylesheet to renderer, not just the lines I change. This way when I remove lines, or when rendering gets messed up for whatever random reason, I could be sure that the renderer has applied my whole stylesheet. Any thoughts?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3981887-livestyle-not-always-rendering-changes?utm_campaign=plugin&utm_content=tracker%2F305388&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F305388&utm_medium=issues&utm_source=github).
realph commented 10 years ago

I have this same problem.

MattHill72 commented 10 years ago

Actually for me this issue has gotten worse. Perhaps one of the supporting files has changed or become out of date but now LiveStyle, unfortunately, doesn't work for me at all.

realph commented 10 years ago

Great idea for live editing in Sublime, but if it doesn't work I can't use it in my workflow.

jesseleite commented 10 years ago

I stopped using it for that reason. I love the idea, but it's too finnicky in practice. I can never tell whether LiveStyle has applied my changes or not. It's annoying having to select all my code, delete, and undo delete... just to force LiveStyle to update changes. I'd rather there be a speed penalty of reloading the whole CSS file on every save, especially if it gave me consistent results in browser :)

MattHill72 commented 10 years ago

The Select-All-Delete-Undo trick never worked for me! I wouldn't mind so much if it did! I actually LOVE this idea, and working in Sublime too, but unfortunately as you say, if it doesn't always work - and you don't know if it's working right now or not - it's pretty much useless.

I would gladly help fund / contribute funds if the dev wanted (and rightly so) a kitty for getting some more dev time on it... Feel bad saying a free app isn't any use, but I wouldn't bother writing on here if I thought it was a dead-end! This could be a very useful tool once all working well.

realph commented 10 years ago

@MattHill72 +1 to that! I'd happily contribute to get this working consistently. Live editing in Sublime is a dream come true, but at the moment it's a dream that isn't there yet. Having to wait 2-3 seconds for Hammer to recompile my files is equally as annoying, though.

sergeche commented 10 years ago

Just wait a bit: I’m working hard on adding preprocessor support to LiveStyle and improving patching engine. I’ll get back to this issue when I’ll get some time.

jesseleite commented 10 years ago

No problem and thanks for reply! :)