@john-yuan/dev-browserify-watcher
Advanced tools
+20
| # Browserify Watcher | ||
| This module helps you compile your files with browserify when the files changed. I try to make the API as simple as possiable so that I can start a new project quickly with the help of this module. I have published this module to [npm][npm-repo] with the scope of my user name. You can treat it as a private module with the public access. This module is not tested so carefully. Keep this in mind, before your may use it. Below is an example: | ||
| [npm-repo]: https://www.npmjs.com/package/@john-yuan/dev-browserify-watcher | ||
| ```js | ||
| var watcher = require('@john-yuan/dev-browserify-watcher'); | ||
| // This function retruns an instance of `FSWatcher` that chokidar returned to it | ||
| var fsWatcher = watcher.watch({ | ||
| entry: 'lib/index.js', // The input file of browserify | ||
| output: 'dist/bundle.js', // The output file | ||
| paths: 'lib/**/*.js', // The files to watch | ||
| browserifyOptions: { // The options pass to browserify (optional) | ||
| debug: true | ||
| }, | ||
| chokidarOptions: {}, // The options pass to choidar (optional) | ||
| }); | ||
| ``` |
+1
-1
| { | ||
| "name": "@john-yuan/dev-browserify-watcher", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "A browserify watcher", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
4119
35.45%5
25%1
-50%21
Infinity%