Coder Social home page Coder Social logo

Comments (9)

juanfran avatar juanfran commented on September 28, 2024

the gulpfile looks good, could you paste the content of _banner.jade?

from gulp-jade-inheritance.

alex-shamshurin avatar alex-shamshurin commented on September 28, 2024

It occurred during editing. I do not know what it was. But sometimes it
happens.

from gulp-jade-inheritance.

alex-shamshurin avatar alex-shamshurin commented on September 28, 2024

Error is in my issue description above

The end of the string was reached with no closing bracket 

So I think a plugin must handle it somehow.

from gulp-jade-inheritance.

juanfran avatar juanfran commented on September 28, 2024

did you try this?

gulp.task('jade', function (cb) {
    return gulp.src(['**/*.jade'], {cwd: app + 'jade'})
        .pipe($.plumber(options.plumber))
        .pipe($.cached('jade'))
        .pipe($.if(global.isWatching, jadeInheritance({basedir: app + 'jade'})))
                .pipe($.filter(function (file) {
            return !/\/_/.test(file.path) && !/^_/.test(file.relative);
        }))
        .on('error', gutil.log)) //handle error
        .pipe($.jade(options.jade))
        .pipe($.prettify(options.htmlPrettify))
        .pipe($.rename(function (path) {
            path.extname = ".blade.php";
        }))
        .pipe(gulp.dest(app + 'views'))
        .pipe($.size({title: 'jade'}))
        .pipe(browserSync.reload({stream: true}));
});

from gulp-jade-inheritance.

alex-shamshurin avatar alex-shamshurin commented on September 28, 2024

Ok, I'll try

from gulp-jade-inheritance.

alex-shamshurin avatar alex-shamshurin commented on September 28, 2024

This one do not run even if remove redundant bracket.

from gulp-jade-inheritance.

juanfran avatar juanfran commented on September 28, 2024

sorry for the delay in my answers

I think that I've fixed the problem, could you upgrade to gulp-jade-inheritance 0.5.5? thanks

from gulp-jade-inheritance.

alex-shamshurin avatar alex-shamshurin commented on September 28, 2024

I cannot upgrade because 0.5.5 right now is unavailable

from gulp-jade-inheritance.

juanfran avatar juanfran commented on September 28, 2024

It should be available now

from gulp-jade-inheritance.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.