Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

This Task broke watch stack #5

@whipsterCZ

Description

@whipsterCZ

Please add some option for watching input file for change..
for example

Elixir.extend('urlAdjuster', function(input, options, output) {

    files.push({
        input: input,
        options: options,
        output: output
    });

    var stream;

    new Task('urlAdjuster', function() {
        files.forEach(function(toUrlAdjust) {
            stream = gulp.src(toUrlAdjust.input)
                         .pipe(urlAdjuster(toUrlAdjust.options))
                         .pipe(gulp.dest(toUrlAdjust.output));
        });

        return stream;
    }).watch(input);     //   THIS LINE ADD WATCHER


});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions