gulp-server-livereload
gulp-server-livereload copied to clipboard
Gulp plugin to run a local webserver with livereload enabled via socket.io. Also comes with standalone command-line interface.
I'm working on a series of JS charts - each one is a separate html file. It's handy to have a config option in the livereload server that auto-navigates to...
Running `livereload` under Node v11 fails with ```plain fs.js:25 'use strict'; ^ ReferenceError: internalBinding is not defined at fs.js:25:1 at req_ (C:\Users\pc\AppData\Roaming\npm\node_modules\gulp-server-livereload\node_modules\natives\index.js:137:5) at Object.req [as require] (C:\Users\pc\AppData\Roaming\npm\node_modules\gulp-server-livereload\node_modules\natives\index.js:54:10) at Object. (C:\Users\pc\AppData\Roaming\npm\node_modules\gulp-server-livereload\node_modules\graceful-fs\fs.js:1:99)...
If a LiveReload server is already running and you try to run another server it is impossible to catch `EADDRINUSE` error: ```javascript const gulp = require('gulp4'); const server = require('gulp-server-livereload');...
ran into strange issues where this fallback was taking preference and breaking as the script fails to run when placed here
Currently we have to define a src but using gulpMem files are written into memory. It may work something like Browsersync using a middleware: ``` browserSync.init({ server: './build', middleware: gulpMem.middleware,...
When image files change they're re-injected (just like on CSS changes). Support for assets included with `` or `background-image: url(http://localhost/asset.png)`
The CSS hot-reload and other client-side scripts should be split out into separate plugins which can then be included by this package. This will allow other people to write, re-use...
i found that web could have refreshed while less is still compiling, which is always happened when the final less file import too many less files. i didn't find the...
I'm excepting to forward api request to given target. ```var server = require("gulp-server-livereload"); server({ livereload: { enable: true, port: 35730, defaultFile:"index.html", filter: function (filePath, cb) { log(chalk.blue.bgGreen.bold(filePath)); cb(!(/node_modules/.test(filePath))); } },...
npm install [email protected] gives the following warnings: npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update...