Skip to content

Fix a bug which cause scripts on command line run out of order#171

Open
alexzhuustc wants to merge 1 commit into
caolan:masterfrom
alexzhuustc:bugfixing
Open

Fix a bug which cause scripts on command line run out of order#171
alexzhuustc wants to merge 1 commit into
caolan:masterfrom
alexzhuustc:bugfixing

Conversation

@alexzhuustc

Copy link
Copy Markdown

There is a code processes path in parallel mode which MAY cause run scripts out of order.

e.g.
nodeunit a.js b.js c.js d.js
the execute order may looks like
-> b.js
-> c.js
-> a.js
-> d.js

I believe it's not an intended design, as all other codes are carefully handle path in series mode.

…cripts out of order.

e.g.
  nodeunit a.js b.js c.js d.js
  the output may looks like
    -> b.js
    -> c.js
    -> a.js
    -> d.js

I believe it's not an intended design. Because all other codes are carefully handle path in series mode.
@Sannis

Sannis commented Jun 14, 2012

Copy link
Copy Markdown
Contributor

+1 on this.

@KishCom

KishCom commented Dec 3, 2012

Copy link
Copy Markdown

Are there plans to integrate this soon?

@Emeraude

Emeraude commented May 31, 2016

Copy link
Copy Markdown

4 years later, why is this PR unmerged ? It fix an error that occur very often and that can be very annoying, depending on your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants