File tree Expand file tree Collapse file tree 2 files changed +47
-3
lines changed Expand file tree Collapse file tree 2 files changed +47
-3
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,36 @@ module.exports = function(grunt) {
101
101
ignoreInitial : true ,
102
102
ignored : '*.html'
103
103
} ,
104
+ snippetOptions : {
105
+ // Ignore all HTML files within the templates folder
106
+ blacklist : [ '/index.html' , '/' ]
107
+ } ,
104
108
plugins : [
105
109
{
106
110
module : 'bs-html-injector' ,
107
111
options : {
108
112
files : [ path . resolve ( paths ( ) . public . root + '/index.html' ) , path . resolve ( paths ( ) . public . styleguide + '/styleguide.html' ) ]
109
113
}
110
114
}
111
- ]
115
+ ] ,
116
+ notify : {
117
+ styles : [
118
+ 'display: none' ,
119
+ 'padding: 15px' ,
120
+ 'font-family: sans-serif' ,
121
+ 'position: fixed' ,
122
+ 'font-size: 1em' ,
123
+ 'z-index: 9999' ,
124
+ 'bottom: 0px' ,
125
+ 'right: 0px' ,
126
+ 'border-top-left-radius: 5px' ,
127
+ 'background-color: #1B2032' ,
128
+ 'opacity: 0.4' ,
129
+ 'margin: 0' ,
130
+ 'color: white' ,
131
+ 'text-align: center'
132
+ ]
133
+ }
112
134
}
113
135
}
114
136
} ,
Original file line number Diff line number Diff line change @@ -102,11 +102,33 @@ gulp.task('cp:styleguide', function(){
102
102
. pipe ( browserSync . stream ( ) ) ;
103
103
} ) ;
104
104
105
- //server and watch tasks
106
- gulp . task ( 'connect' , [ 'lab' ] , function ( ) {
105
+ // server and watch tasks
106
+ gulp . task ( 'connect' , [ 'lab' ] , function ( ) {
107
107
browserSync . init ( {
108
108
server : {
109
109
baseDir : path . resolve ( paths ( ) . public . root )
110
+ } ,
111
+ snippetOptions : {
112
+ // Ignore all HTML files within the templates folder
113
+ blacklist : [ '/index.html' , '/' ]
114
+ } ,
115
+ notify : {
116
+ styles : [
117
+ 'display: none' ,
118
+ 'padding: 15px' ,
119
+ 'font-family: sans-serif' ,
120
+ 'position: fixed' ,
121
+ 'font-size: 1em' ,
122
+ 'z-index: 9999' ,
123
+ 'bottom: 0px' ,
124
+ 'right: 0px' ,
125
+ 'border-top-left-radius: 5px' ,
126
+ 'background-color: #1B2032' ,
127
+ 'opacity: 0.4' ,
128
+ 'margin: 0' ,
129
+ 'color: white' ,
130
+ 'text-align: center'
131
+ ]
110
132
}
111
133
} ) ;
112
134
gulp . watch ( path . resolve ( paths ( ) . source . css , '**/*.css' ) , [ 'cp:css' ] ) ;
You can’t perform that action at this time.
0 commit comments