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

后端 未结 11 2316
野的像风
野的像风 2021-02-02 07:41

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

11条回答
  •  没有蜡笔的小新
    2021-02-02 08:18

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

    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.

提交回复
热议问题