From 577dd61a5add088a1e6abab6f5e6673b4244b2e3 Mon Sep 17 00:00:00 2001 From: cueedee Date: Tue, 10 Oct 2017 15:36:40 +0200 Subject: [PATCH] feat(generators/demo/templates): ensure livereloading works for _any_ /^local/ target-environment Omitted when changing `generators/app/templates` on commit 1814386. --- generators/demo/templates/src/index.template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/demo/templates/src/index.template.html b/generators/demo/templates/src/index.template.html index 921bce35..b5e29050 100644 --- a/generators/demo/templates/src/index.template.html +++ b/generators/demo/templates/src/index.template.html @@ -45,7 +45,7 @@ <@ } @><% if ( debugging ) { %> - <% if ( environment === 'local' ) { %> + <% if ( /^local/.test( environment ) ) { %>