1.2.1 • Published 5 years ago

gulp-ws-sender v1.2.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

For live injection of your script and styles to any page. Use with chrome extention

Usage

const gulp = require('gulp')
const port = 9999
const sender = require('gulp-ws-sender')(port)

gulp.task('style', () => {
  return gulp.src('src/**/*.css')
    // your pipes
    .pipe(sender({ type: 'css' }))
    .pipe(gulp.dest('build'))
})

gulp.task('script', () => {
  return gulp.src('src/**/*.js')
    // your pipes
    .pipe(sender({ type: 'js' }))
    .pipe(gulp.dest('build'))
})
1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago