问题
Image Notification
In the google chrome version 30.0.1599.101 m i am not able to save the changed js file. On saving the js file i got yellow triangle symbol with "change to this file were not saved to file system" message. I know this used to work in older version
I am using windows-7 64 bit
回答1:
Click on the cog in the developer tools window (lower right corner)
Go to workspace and add the directory which you would be working on.
This is to accidentally prevent you from modifying files that you did not intend on changing.
回答2:
Happened to me too. After picking the workspace directory, I also mapped the file from the "Source" panel of Devtools to its filesystem equivalent (using right-click on the file, from the file tree). It solved my problem.
回答3:
In chrome > 63, accepted answer option is disabled. In later should be done through workspaces.
回答4:
Tonight, I accidentally managed to fix this problem, just open the file on the disk and save it with a simple change even with a space. Refresh the page in Chrome, Chrome will link it(The file) to the disk.
回答5:
Something to note: if you are making dynamically loaded JS available in devtools via the helpful: //# sourceURL=Example.js comment, this network to local mapping will not work.
Note: Notice the "//# sourceURL=dynamicScript.js" line at the end of dynamicScript.js file. This technique gives a name to a script created with eval, and will be discussed in more detail in the Source Maps section. Breakpoints can be set in dynamic JavaScript only if it has a user supplied name.
https://developer.chrome.com/devtools/docs/javascript-debugging
When you're using sourceURL, you can't actually find the respective JS file in the Sources tree where you might expect it to exist. It is available to open via the "no-domain" tree, however (or quick open with CTRL/CMD+P).
I'm still looking for a solution.
回答6:
Using Ctrl + F5 to clear the browser cache worked for me.
来源:https://stackoverflow.com/questions/19654081/change-to-this-file-were-not-saved-to-file-system-error-in-google-chrome-version