filearts / plunker

Plnkr.co front-end and backend
MIT License
598 stars 117 forks source link

Files Not Updating #98

Open ghost opened 8 years ago

ghost commented 8 years ago

I have had several times where I think a change that I made didn't work, but turns out the files just weren't updating (I believe). To get the plunk to work, I had to hard refresh the page or open the plunk in another window. The manual refresh preview button did not fix it. This has happened in different plunks.

I am using Chrome 46.0.2490.80. The extensions I have enabled are "Switcheroo Redirector" and "Tampermonkey". I do not have any userscripts for the plunker site.

Example: My template html has attribute uib-datepicker-popup="{{format}}" My scope has format set as "dd.MM.yyyy" The resulting generated html looks like the below. inspect element

That bad looking format was from as I was changing the format. Some reason it keep that bad version.

ggoodman commented 8 years ago

The plunker previewer just pushes your entire local state to a separate server that then stores that in an LRU cache and serves the state of the cache w/ appropriate etags. For whatever reason, sometimes browsers fail to appropriately refresh the contents of iframes.