How can I config workspace in chrome?

旧街凉风 提交于 2019-12-20 04:08:10

问题


I'm trying to activate workspace tool for my local project. I want to apply CSS changes on my codes when I edit them into browser.

I've added my folder, perfix url and path of my project to the Chrome like this:

But still there isn't any change in my codes when I change it into browser, What's wrong?


回答1:


Here are the steps to map a local workspace to a server path, using my example:

  1. Click "Add folder" in the Workspace settings, and navigate to your working directory. Click "Allow" in the bar at the top to grant Chrome permissions.

  1. Add a mapping between your server and the path

  1. Load the URL and navigate to the Sources tab. Open your file and start editing. If you save with Cmd+S (Mac) / Ctrl+S (Windows / Linux), the changes will be persisted in the workspace.

You can read more information from the official documentation here, which shows how to add it directly from the Sources panel. Read the Limitations section, in case you are trying to do something that isn't supported.



来源:https://stackoverflow.com/questions/37501361/how-can-i-config-workspace-in-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!