node.js - gulp.watch error: write after end -


I get different results for different gulp.watch instructions when I enter my < Code> watch function and replace a .html file, everything works properly (defined functions below)

But when I Any other other files (coffee, .ex, etc.) I get this error:

  stream.js: 94 throw; // Unchecked stream error in pipe ^ Error: write after ending at writeAfterEnd (/ Users / oclement / Documents / phoenix / MedifastCerBrokenDown / MedifastWeb / AppSource / node_modules / gulp-filter / node_modules / through2 / node_modules / readable-stream / lib /_stream_writable.js:145:12) Transform.Writable.write (/ Users / oclement / Documents / phoenix / MedifastCerBrokenDown / MedifastWeb / AppSource / node_modules / gulp-filter / node_modules / through2 / node_modules / readable-stream / lib / _stream_writable.js: 193: 5) on the stream (.js: 95: 17) gulp.watch`  

clock work

  gulppasskas ( 'Clock', function) (running = true; run ('build', 'index', function () {g.util.log (g.util.colors.green (' Startup (. '/ App / ** / *. Html', ['template']); GLUP.Watch ('. / App / ** / *. Coffee', ['phnxjs']); ...}};});  

Template work

  Gulppasskas ('templates', function (done) {g.util.log ( G.util.colors.green ('--- Template-')); sourceStreams.templates () .pipe (buildWatchPipe () ()) .pipe (g.ngHtml2js (options.templates)) .pipe (g) .concat (destinations.templates.bundleName)) .pipe (g.if (isProd, transformScriptsProd ()) .pipe (places.templates.target ()) .pipe (g.if (isWatching, g.livereload ()) ); Done ();});  

Phnxjs Task

  gulp.task ('phnxjs', function (done) {g.util.log (g.util.colors.green ( '--- PHNXJS ---')); var rap xpection = g. Filter ('! ** / tag-input .js'); source stream. Phonetics () .pipe (buildwickap ()) .pipe (Filter.Coffee) .pipe (g.coffee (options.coffee)) .on ('error', g.util.log) .pipe (filtercopy. Thapper ()) .pipe (wrap exception) .pip (iffeWrapper ( )) .pipe (wrapException.restore ()) .pipe (g.if (! IsProd, g.angularFilesort ()) .pipe (g.if (isProd, transformScriptsProd ())) .pipe (g.if (isProd , G.concat (target.phoenixScripts.bundleName)) .pipe (destinations.phoenixScripts.target ()) .pipe (g.if (see staying Is, g.livereload ())); done ();});  


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -