An open API service indexing awesome lists of open source software.

https://github.com/icfnext/gulp-slang

A Gulp plugin for curling files to JCR / Sling
https://github.com/icfnext/gulp-slang

Last synced: about 1 year ago
JSON representation

A Gulp plugin for curling files to JCR / Sling

Awesome Lists containing this project

README

          

gulp-slang
==============

Curl files to running JCR

## Install

```shell
npm install gulp-slang --save-dev
```

## Example
```js
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.