gulp-slang

Curl files to JCR using Sling

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-slang
2041.1.05 years ago10 years agoMinified + gzip package size for gulp-slang in KB

Readme

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.