node package manager

gulp-slang

Curl files to JCR using Sling

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.