Skip to content

Commit

Permalink
Comment out livereload snippet
Browse files Browse the repository at this point in the history
Change order of bs-reload
  • Loading branch information
zjrosen1 committed Aug 20, 2015
1 parent 9a825bf commit 0c1658e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 6 additions & 6 deletions build/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ var parameters = require('../config/parameters.js');
var gulpLoadPlugins = require('gulp-load-plugins');
var $ = gulpLoadPlugins();

browserSync.use(require('bs-snippet-injector'), {
file: parameters.footer_path
});
//browserSync.use(require('bs-snippet-injector'), {
//file: parameters.footer_path
//});

gulp.task('browser-sync', ['styles'], function() {
browserSync.init({
Expand Down Expand Up @@ -72,12 +72,12 @@ gulp.task('minify', ['vendor', 'babel'], function() {
.pipe(gulp.dest(parameters.web_path + '/assets/js'));
});

gulp.task('bs-reload', function() {
browserSync.reload();
gulp.task('bs-reload', ['minify'], function() {
return browserSync.reload();
});

gulp.task('watch', function() {
gulp.watch(parameters.assets_path + '/**/*.js', ['minify']);
gulp.watch(parameters.assets_path + '/**/*.js', ['bs-reload']);
gulp.watch(parameters.assets_path + '/**/*.scss', ['styles']);
gulp.watch(parameters.app_path + '/**/*.html', ['bs-reload']);
});
Expand Down
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,5 @@ <h3>See the whole picture!</h3>
<div id="right-padding-hack"></div>
</div>
</div>
<!-- BS:SNIPPET--><script type='text/javascript' id="__bs_script__">//<![CDATA[
document.write("<script async src='/browser-sync/browser-sync-client.2.8.2.js'><\/script>".replace("HOST", location.hostname));
//]]></script>
<!-- BS:SNIPPET:END-->
</body>
</html>
2 changes: 1 addition & 1 deletion public/assets/js/app.min.js

Large diffs are not rendered by default.

0 comments on commit 0c1658e

Please sign in to comment.