gulp-data
gulp-data copied to clipboard
Generate a data object from a variety of sources: json, front-matter, database, anything... and set it to the file object for other plugins to consume.
- jade -> pug - use single backtick for inline code - remove extra newlines - add newline between blocks
I've looked at similar problems [here](https://github.com/colynb/gulp-data/issues/18) and [here](https://github.com/colynb/gulp-data/issues/19), but still couldn't solve the problem. Help please to create a task for Gulp. Need to when changing 'data.json ' worked auto-reload....
The current behaviour is that, when you using multiple json files and you create the same array in different json file. The array get's overwritten, the better behaviour would be...
My problem is that my `views:build` task includes the templates before the data gets injected, resulting in a blank html page. What am i doing wrong? This is my code:...
Hi, how can i append the data i get from front-matter to an existing json file? Here's what i have: `gulp.task('meta', function(){ return gulp.src(path.posts) .pipe(plumber({ handleError: onError })) .pipe(frontMatter({ property:...
Hi, Do you have any examples of how to ensure templates get fresh data when saving a json file? It seems I have to stop and start gulp every time...
https://github.com/mariocasciaro/through2-parallel
Hi, I'm having issues where the `gulp-data` plugin is not giving me compilation errors. Please see my compile-jade task below. ``` 'use strict'; var path = require('path'); module.exports = function(gulp,...
I want to try to load the json file and if it doesnt exists just ignore and keep going. Advice?
Data is overwritten on the file object, which breaks piping from a single stream multiple times. For example, the below task will always have `file.data.foo = "baz"` Perhaps the file...