0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VisualStudio 2015 CSSAutoSync が効かない時

Last updated at Posted at 2017-02-27

Web.Config に以下を追加する

<cofiguration>
  <system.webServer>
    <handlers>
      <add name="Browser Link for HTML" path="*.html" verb="*"
           type="System.Web.StaticFileHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
           resourceType="File" preCondition="integratedMode" />
    </handlers>
  </system.webServer>
</configuration>

Browser Link Dash Board でLinkしているURLが表示されていれば有効になっている
image

Static Html の場合上記をWeb.configに追加すると、CSSを編集すると即座に反映される。
上記の記載が無い場合はBrowserをRefreshする必要がある。
https://docs.microsoft.com/en-us/aspnet/visual-studio/overview/2013/using-browser-link

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?