Skip to content

Commit

Permalink
chore(build): disable live reload
Browse files Browse the repository at this point in the history
live relaod is not working well in the docker container. disabling since we'll soon stop using this build pipeline.
  • Loading branch information
atruskie committed Oct 29, 2019
1 parent 51d89e9 commit 418fa12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ module.exports = function (grunt) {
"./"
],
debug: false,
livereload: true,
livereload: false,
middleware: function (connect, options) {
var buildDirectory = grunt.config("build_dir");
grunt.log.writeln("Base webserver directory: " + options.base);
Expand Down Expand Up @@ -787,7 +787,7 @@ module.exports = function (grunt) {
* plugin should auto-detect.
*/
options: {
livereload: true,
livereload: false,
livereloadOnError: false,
//spawn: true
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
ga('create', '<%= build_configs.current.ga.trackingId %>', 'auto');
</script>
<% if (build_configs.current.key === "development") { %>
<script src="http://<%= hostIp[0] %>:35729/livereload.js"></script>
<!-- <script src="http://<%= hostIp[0] %>:35729/livereload.js"></script> -->
<% } %>
</body>
</html>

0 comments on commit 418fa12

Please sign in to comment.