Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome's map to file system resource not working after update

I can add a folder to the workspace (which doesn't seem to do anything, as far as I can tell), but the "map to file system resource" option seems to have been removed, and I can no longer live-edit css files.

Is this a bug, or has the process for mapping css files been changed?

This talk (https://developers.google.com/web/updates/2017/10/devtools-release-notes) says that the new version uses "magic" to map remote files to local ones, but I can't seem to get it to work at all.

For reference, I'm trying to map a reddit css file to one on my own computer. It worked fine on a previous version of Chrome (basically I add the folder, and map the css file inside it, which has been renamed to have the same name as the remote one) but not on the new one (Chrome 63)

like image 410
chintogtokh Avatar asked Dec 30 '17 08:12

chintogtokh


People also ask

How to fix Google Maps not working in chrome?

You can also press Ctrl + Shift + N in Google Chrome to open a new tab in incognito mode quickly. In the new window, you can open your Google Maps and check if it works properly. If Google Maps doesn’t work still, you should move on to the next fix. Sometimes, you may find there’s no Incognito Mode in Chrome. Don’t worry!

How to fix Google Chrome not keeping up with updates?

Google Chrome may not be able to keep itself updated. Try the possible fixes below. It's possible that some files are missing on your computer. To fix, follow these steps: Uninstall Chrome. Make sure your computer meets the system requirements. Download Chrome again and try reinstalling.

Does Google Maps not work on Windows PC?

However, some of them who use Google Maps on Windows PC have reported that Google Maps doesn’t work properly in Chrome browser. They complain that the 3D function and street view feature are not starting when they click Directions.

How to fix Google Chrome not working on Windows 10?

To fix, follow these steps: 1 Uninstall Chrome. 2 Make sure your computer meets the system requirements. 3 Download Chrome again and try reinstalling. If you keep seeing an error: 4 On Windows, try the standalone installer. 5 On Mac, download Google Software Update again and try reinstalling.


1 Answers

I've just fiddled around with a problem, where only some files got mapped to my local workspace.

enter image description here

Turned out that Google Chrome also checks and compares the last modified date of your files.
If the file on the server has a more recent date than your local copy, this file won't be mapped.

I deleted the Bootstrap file on the server side and uploaded my local copy, which has an older last modified date. Google Chrome instantly mapped the file to my local workspace.
Out of curiosity I ran touch bootstrap.min.js on my server to set the last modified date to today. This broke my file mapping again.

like image 155
Physikbuddha Avatar answered Sep 18 '22 05:09

Physikbuddha