Aurelia CLI - Visual Studio 2017/2019 Tools

Here is a way to get auto-refresh of all changes (including .html, .css and Aurelia) in Visual Studio 2017 using the inbuilt BrowserLink and MadsKristensen’s ‘BrowserReloadonSave’.

The only change you need to make is to add the following to the Startup.cs :

        if (env.IsDevelopment())
        {
            ...
            app.UseBrowserLink();
        }

I have just tested it and it seems to work perfectly so far.

With this in mind, I do no think it requires anything in the templates, since the functionality is already available.

1 Like