From bc5a9664c19fb5ff6b30a26d540f324154f7a351 Mon Sep 17 00:00:00 2001 From: Kazunori Kajihiro Date: Wed, 14 May 2014 18:30:36 +0900 Subject: [PATCH 1/3] Add gulp watch task --- gulpfile.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 018621a..8d53e81 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,4 +47,14 @@ gulp.task('firefox', function() { gulp.task('default', function(cb) { return rseq('clean', ['chrome', 'safari', 'firefox'], cb) -}) \ No newline at end of file +}) + +gulp.task('watch', function() { + gulp.watch(['./src/lib/**/*', + './src/icons/**/*', + './src/inject.js', + './src/inject.css'], ['default']) + gulp.watch(['./src/manifest.json'], ['chrome']) + gulp.watch(['./src/Info.plist'], ['safari']) + gulp.watch(['./src/firefox.js', './src/package.json'], ['firefox']) +}) From 9127de345771131d696ce14fc4ece8e969c3a06b Mon Sep 17 00:00:00 2001 From: Kabir Sala Date: Wed, 14 May 2014 19:55:48 +0200 Subject: [PATCH 2/3] Fix text-overflow in Firefox. --- src/inject.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inject.css b/src/inject.css index 57dc5df..57008e7 100755 --- a/src/inject.css +++ b/src/inject.css @@ -37,6 +37,7 @@ html.octotree { margin: 10px 5px; height: 20px; white-space: nowrap; + overflow: hidden; text-overflow: ellipsis; } From a74523a0ee6c4f047783aeef90635cacddb7d2d8 Mon Sep 17 00:00:00 2001 From: Kazunori Kajihiro Date: Thu, 15 May 2014 02:59:22 +0900 Subject: [PATCH 3/3] Change watch task to watch src/**/* --- gulpfile.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8d53e81..8f41b6f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -50,11 +50,5 @@ gulp.task('default', function(cb) { }) gulp.task('watch', function() { - gulp.watch(['./src/lib/**/*', - './src/icons/**/*', - './src/inject.js', - './src/inject.css'], ['default']) - gulp.watch(['./src/manifest.json'], ['chrome']) - gulp.watch(['./src/Info.plist'], ['safari']) - gulp.watch(['./src/firefox.js', './src/package.json'], ['firefox']) + gulp.watch(['./src/**/*'], ['default']) })