remote view doesn't reflect original view CSS edits #135

Open
sosoclumsy opened this Issue Aug 17, 2016 · 5 comments

Projects

None yet

2 participants

@sosoclumsy

Hi,

I'm having trouble getting the remote view to reflect the CSS changes made to the original view/page. The remote view is just displaying the original view/page without any of the updates. I'm not sure if I've done something incorrectly or missed something...

Otherwise, love this app! This tool will be great for web projects but the remote view is one of its most valuable features for us. The ability to share updated web pages with clients and team members is exactly what we're looking for!

@sergeche
Member

Hi, Remote View handlers real-time updates during session, it pushes updates to opened pages only and doesn’t accumulate them (for now, at least). E.g. if make changes but didn’t saved file, all users that opened Remove View url after you made your changes won’t see them. You have to save file and users have to reload page.

You I misinterpreted your issue? You doesn’t see real-time updates at all?

@sosoclumsy

Hi, thanks for your quick response!

I can see real-time updates but only in the original view. Even if I make changes and open the Remote View url only after saving the file, the Remote View page does not show the changes. I've tried saving again and reloading the Remote View url, but I still can't see the updates/changes on it.

@sergeche
Member

Can you check DevTools of Remote View url for errors?

@sosoclumsy

Hi, here is a screenshot of what is shown for errors on the remote view url:
screen shot 2016-08-17 at 4 37 16 pm

@sergeche
Member

I think the problem is in dynamic URLs:

<link href="/styles/main.css?c=1891020983" rel="stylesheet" type="text/css" />
<link href="/styles/hovermenu.css?c=1979868491" rel="stylesheet" type="text/css" />

E.g. you make changes in file mapped to /styles/main.css?c=1 but in RV this URL looks like /styles/main.css?c=2 so it unable to find match. Can you disable URL hashing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment