mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 14:05:27 +00:00
update
This commit is contained in:
17
node_modules/bs-recipes/recipes/grunt.sass.autoprefixer/desc.md
generated
vendored
Normal file
17
node_modules/bs-recipes/recipes/grunt.sass.autoprefixer/desc.md
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
This example shows how you can chain potentially slow-running tasks, but still achieve CSS
|
||||
Injection. The trick, as seen below, is to use the `bsReload` task that now comes
|
||||
bundled with `grunt-browser-sync` since `2.1.0`
|
||||
|
||||
Don't forget the `spawn: false` option for the watch task - it's a requirement
|
||||
that allows Browsersync to work correctly
|
||||
|
||||
```js
|
||||
watch: {
|
||||
options: {
|
||||
spawn: false // Important, don't remove this!
|
||||
},
|
||||
files: 'app/**/*.scss',
|
||||
tasks: ['sass', 'autoprefixer', 'bsReload:css']
|
||||
},
|
||||
```
|
Reference in New Issue
Block a user