Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
aset livereloadplugin to inject reload tag
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni committed Apr 14, 2018
1 parent 4d78896 commit 25539ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion generators/assets/webpack/templates/webpack.config.js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const configurator = {
}

if( env === "development" ){
config.plugins.push(new LiveReloadPlugin())
config.plugins.push(new LiveReloadPlugin({appendScriptTag: true}))
return config
}

Expand Down
5 changes: 0 additions & 5 deletions generators/newapp/templates/templates/application.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,5 @@
</div>

<%= javascriptTag("application.js") %>

<%= if( env == "development") { %>
<!-- For buffalo to do live js/css reload -->
<script src="http://localhost:35729/livereload.js"></script>
<% } %>
</body>
</html>

0 comments on commit 25539ad

Please sign in to comment.