Sha256: fb594bc4b6f157585a7bce59db27396aa4f29926be3cc7537443b2d6c0d4c420
Contents?: true
Size: 383 Bytes
Versions: 6
Compression:
Stored size: 383 Bytes
Contents
var outpipe = require('../'); var gaze = require('gaze'); var fs = require('fs'); var minimist = require('minimist'); var argv = minimist(process.argv.slice(2), { alias: { o: 'output' } }); var file = argv._[0]; gaze(file, function (err, w) { w.on('changed', read); }); read(); function read () { var r = fs.createReadStream(file); r.pipe(outpipe(argv.output)); }
Version data entries
6 entries across 6 versions & 1 rubygems