Skip to content

Commit

Permalink
feat(generators/app/templates): ensure livereloading works for _any_ …
Browse files Browse the repository at this point in the history
…/^local/ target-environment
  • Loading branch information
cueedee committed Feb 8, 2017
1 parent 484ac5d commit 1814386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/src/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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 1814386

Please sign in to comment.