Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan James 1 post 71 karma points
    May 15, 2018 @ 12:50
    Jonathan James
    0

    Template file updates but changes do not appear in the browser

    My Setup

    • Localhost install of Umbraco v7
    • Running Windows on Parallels (macOS application)
    • Editing files with Visual Studio 2017
    • Visual Studio solution stored on macOS filesystem (mapped network drive)
    • Local site configured with IIS
      • IIS site config uses a universal naming convention (UNC) path to point to the site root

     

    The Problem

    When I make a change to a template file from the "Settings" section, within the Umbraco CMS, the change appears in my browser (after refreshing the page).

    However, when I make a change to the same template file from within Visual Studio, the change does not appear in my browser (after refreshing the page).

    Weirdly though, changes made to template files in Visual Studio do show-up in the "Settings" section of the Umbraco CMS (when I refresh the page).

    Also, if I make a template change from within the Umbraco CMS and then flick back to Visual Studio, Visual Studio warns me the file has been changed and asks me if I want to update it.

     

    Does anyone have any idea what might be causing this?

  • Dave Woestenborghs 3344 posts 11303 karma points MVP 6x admin c-trib
    May 17, 2018 @ 14:06
    Dave Woestenborghs
    0

    Hi Jonathan

    This is probably Umbraco cache. If you change the template in VS umbraco does not know about the change and doesn't update the cache.

    Probably publishing a node will show you the changes.

    Dave

  • Thomas Kold 2 posts 72 karma points
    Oct 13, 2020 @ 10:53
    Thomas Kold
    0

    I have had the same problem. This worked for me in Umbraco 7.5.4.

    Go to the Developer Section > Health Check > And check all groups

    After this template changes where visible on website frontend.

Please Sign in or register to post replies

Write your reply to:

Draft