icfnext / gulp-slang

A Gulp plugin for curling files to JCR / Sling
MIT License
20 stars 14 forks source link

gulp-slang

Curl files to running JCR

Install

    npm install gulp-slang --save-dev

Example

    var gulp = require('gulp');
    var slang = require('gulp-slang');

    gulp.task('watch', function() {
        gulp.watch('js/*.js', function(e) {
            return gulp.src()
                .pipe(slang({
                    port: 4503
                }));
        });
    });

Options

host

Type: string Default: localhost

hostname to running sling instance.

port

Type: number Default: 4502

Port for running sling instance.

username

Type: string Default: admin

Username for authentication.

password

Type: string Default: admin

Password for authentication.