Skip to content

Commit

Permalink
#136 | Remove livereload 🔄
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-null committed Oct 10, 2020
1 parent 85f3c09 commit 2f2e553
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 39 deletions.
26 changes: 0 additions & 26 deletions app/chrome/chromereload.ts

This file was deleted.

1 change: 0 additions & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"default_locale": "en",
"background": {
"scripts": [
"chrome/chromereload.js",
"chrome/background.js"
]
},
Expand Down
10 changes: 0 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var gulp = require('gulp');
var livereload = require('gulp-livereload');
var ts = require('gulp-typescript');
var tslint = require('gulp-tslint');
var sourcemaps = require('gulp-sourcemaps');
Expand All @@ -13,7 +12,6 @@ var uglify = require('gulp-uglify')
var htmlmin = require('gulp-htmlmin')
var zip = require('gulp-zip')
var size = require('gulp-size')
var jsonEditor = require('gulp-json-editor')
var replace = require('gulp-string-replace');

var mode = "build"
Expand Down Expand Up @@ -144,8 +142,6 @@ gulp.task('set_mode', () => {
});

gulp.task('watch', ['set_mode', 'typescript_all', 'sass_all', 'copy_lib'], () => {
livereload.listen();

gulp.watch('app/sc_ext/**/*.ts', ['typescript_sc_ext']);
gulp.watch('app/sc_ext/styles/**/*.scss', ['sass_sc_ext']);
gulp.watch('app/chrome/popup/**/*.scss', ['sass_popup']);
Expand All @@ -166,12 +162,6 @@ gulp.task('extras', () => {

gulp.task('chromeManifest', () => {
gulp.src("app/manifest.json")
.pipe(jsonEditor(function (json) {
var bgJS = json.background.scripts;
var index = bgJS.indexOf('chrome/chromereload.js');
bgJS.splice(index, 1);
return json;
}))
.pipe(gulp.dest("dist"));
});

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
"devDependencies": {
"del": "^2.2.0",
"gulp": "^3.9.1",
"gulp-json-editor": "2.2.1",
"gulp-clean-css": "^2.0.3",
"gulp-if": "^2.0.0",
"gulp-livereload": "^3.8.1",
"gulp-htmlmin": "^1.3.0",
"gulp-size": "^2.1.0",
"gulp-sourcemaps": "^1.6.0",
Expand Down

0 comments on commit 2f2e553

Please sign in to comment.