Skip to content

Commit

Permalink
feat(generators/demo/templates): ensure livereloading works for _any_…
Browse files Browse the repository at this point in the history
… /^local/ target-environment

Omitted when changing `generators/app/templates` on commit 1814386.
  • Loading branch information
cueedee committed Oct 10, 2017
1 parent 8746245 commit 577dd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/demo/templates/src/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--><@ } @><% if ( debugging ) { %>

<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" /><% if ( environment === 'local' ) { %>
<link rel="stylesheet" type="text/css" href="<%- styleBase %>/debug.css?<%- buildRun %>" /><% if ( /^local/.test( environment ) ) { %>
<script>
//
// Load `livereload` relative to document protocol and host, but on a different port.
Expand Down

0 comments on commit 577dd61

Please sign in to comment.