Coder Social home page Coder Social logo

gulp-multi-process's People

Contributors

juanfran avatar zardoz89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gulp-multi-process's Issues

Error: spawn UNKNOWN when using on windows

Thanks for writing gulp-multi-process, it really speeds up my builds!

When I use gulp-multi-process on windows though, an error is thrown:

[19:34:53] Error: spawn UNKNOWN
    at exports._errnoException (util.js:1022:11)
    at ChildProcess.spawn (internal/child_process.js:313:11)
    at exports.spawn (child_process.js:387:9)
    at C:\Users\jos\tmp\jsoneditor\node_modules\gulp-multi-process\index.js:10:18
    at Array.forEach (native)
    at gulpMultiProcess (C:\Users\jos\tmp\jsoneditor\node_modules\gulp-multi-process\index.js:9:9)
    at Gulp.<anonymous> (C:\Users\jos\tmp\jsoneditor\gulpfile.js:263:10)
    at module.exports (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\lib\runTask.js:34:7)
    at Gulp.Orchestrator._runTask (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\index.js:273:3)
    at Gulp.Orchestrator._runStep (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\index.js:214:10)

Would be great if gulp-multi-process would work on windows too.

Question: How does it handle output?

Hi!

One of the things I need to do is run webpack and watch for file changes, another I need to do is fire up dynamodb local, another one is to keep an electron app running... all of these spit out debugging information that I may need.

Ideally, I would use your plugin and combine all their output in one single stdout that I can prefix with an identifier:

[electron] debug from the app...
[webpack] reloaded stuff
[dynamodb] requested record X

is this something I can do with your plugin? (and if so, how?)

Thanks for your hard work!

Any plan to port this to gulp 4 ?

Any plan to port this to gulp 4 ?

Gulp 4 have gulp.series and gulp.parallel to create the tasks dependency trees, but parallel don't uses threads/processes to execute slow tasks on different CPUs.

Additional arguments not passed to child processes

When additional arguments, not task names, are used, these arguments should be added to the child process argument array.

If I call

gulp --production

I would expect --production to be passed as an argument to the child processes.

Exit code of child processes ignored

The exit code of the spawned processes are not currently being checked in any way, meaning a failed sub-task will not be reported to the parent process, which will still exit with an exit code of 0.

This is particularly an issue when this module is used in a CI job running unit tests etc. as the tests could fail and the build will still pass.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.