Skip to content

Commit 0ee04a2

Browse files
committed
Fix Grunt watch
1 parent 15b502c commit 0ee04a2

17 files changed

+24
-15
lines changed

zeppelin-web/Gruntfile.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ module.exports = function (grunt) {
6363
tasks: ['wiredep']
6464
},
6565
js: {
66-
files: ['<%= yeoman.app %>/{app, components}/**/*.js'],
66+
files: [
67+
'<%= yeoman.app %>/app/**/*.js',
68+
'<%= yeoman.app %>/components/**/*.js'
69+
],
6770
tasks: ['newer:jshint:all'],
6871
options: {
6972
livereload: '<%= connect.options.livereload %>'
@@ -74,7 +77,11 @@ module.exports = function (grunt) {
7477
tasks: ['newer:jshint:test', 'karma']
7578
},
7679
styles: {
77-
files: ['<%= yeoman.app %>/{app, components, assets/styles}/**/*.css'],
80+
files: [
81+
'<%= yeoman.app %>/app/**/*.css',
82+
'<%= yeoman.app %>/components/**/*.css',
83+
'<%= yeoman.app %>/assets/styles/**/*.css'
84+
],
7885
tasks: ['newer:copy:styles', 'autoprefixer']
7986
},
8087
gruntfile: {
@@ -85,7 +92,9 @@ module.exports = function (grunt) {
8592
livereload: '<%= connect.options.livereload %>'
8693
},
8794
files: [
88-
'<%= yeoman.app %>/{app, components}/**/*.html',
95+
'<%= yeoman.app %>/app/**/*.html',
96+
'<%= yeoman.app %>/*.html',
97+
'<%= yeoman.app %>/components/**/*.html',
8998
'.tmp/styles/{,*/}*.css',
9099
'<%= yeoman.app %>/assets/images/**/*.{png,jpg,jpeg,gif,webp,svg}'
91100
]
@@ -297,18 +306,13 @@ module.exports = function (grunt) {
297306
'assets/styles/**/*',
298307
'assets/images/**/*',
299308
'WEB-INF/*',
309+
'fonts/*'
300310
]
301311
}, {
302312
expand : true,
303313
cwd: '<%= yeoman.app %>',
304314
dest: '<%= yeoman.dist %>',
305315
src: ['app/**/*.html', 'components/**/*.html']
306-
}, {
307-
expand : true,
308-
flatten: true,
309-
cwd: '<%= yeoman.app %>',
310-
dest: '<%= yeoman.dist %>/fonts/',
311-
src: ['assets/fonts/**/*']
312316
}, {
313317
expand: true,
314318
cwd: '.tmp/images',

zeppelin-web/app/app/home/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
See the License for the specific language governing permissions and
1212
limitations under the License.
1313
-->
14+
1415
<div class="box width-full home">
1516
<div class="zeppelin">
1617
<div class="zeppelin2"></div>

zeppelin-web/app/components/navbar/navbar.controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15+
1516
'use strict';
1617

1718
/**
@@ -23,6 +24,7 @@
2324
*
2425
* @author anthonycorbacho
2526
*/
27+
2628
angular.module('zeppelinWebApp').controller('NavCtrl', function($scope, $rootScope, $routeParams) {
2729
/** Current list of notes (ids) */
2830
$scope.notes = [];
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)