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
    7 days ago
    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 2687 posts 8070 karma points MVP 2x admin c-trib
    5 days ago
    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

Please Sign in or register to post replies

Write your reply to:

Draft