Components Reload

280 views
Skip to first unread message

Vikram Tiwari

unread,
Sep 19, 2014, 1:08:06 PM9/19/14
to polym...@googlegroups.com
Hey Guys,

Great job on Polymer. Kudos! :)

Just an issue i have faced in using it:

> I need to force reload the browser each time i make a change in the components. This is while i am in development stage. While this might be good when the app is deployed, right now its an hassle.

> Since Polymer is such a diverse tool and you guys are working on such a core level, can there be something that we can add as a 'service' (sorry for wrong terminology) that can work under-hood during development process to do that reload of components.

> I am looking for something like grunt which can do the similar task on browser end.

PS: I am looking forward for an opportunity to work along with the Polymer team. :)

PSS: I was unsure of where (in which sub-project on GitHub) should i post this issue as, so did it here. Sorry if this is not the one i should be using.

Thanks and Regards!
____________

Rob Dodson

unread,
Sep 19, 2014, 1:16:11 PM9/19/14
to Vikram Tiwari, polymer-dev
Hi Vikram,

Take a look at the Yeoman Generator for Polymer, it will create a project for you that uses LiveReload to refresh the page for you. One thing to keep in mind is that HTML Imports can be heavily cached by the browser so sometimes you might need to open up the devtools to clear the cache to see your changes.

Hope that helps!

- Rob

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAPdb0hg-1Fctq%2Bb1NzbmdQmjoj6pYgn3pEKurB_263s2p9CwCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Vikram Tiwari

unread,
Sep 19, 2014, 1:20:51 PM9/19/14
to Rob Dodson, polymer-dev
Awesome Rob,

This helps a lot. Especially the pro-tip. :)

Expect a showoff from me by Monday. Gonna be a fun weekend. ;)

Thanks and Regards!
____________

Reply all
Reply to author
Forward
0 new messages