Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve order of files when using Stdout #1731

Open
menelaos opened this issue Oct 15, 2014 · 0 comments
Open

Preserve order of files when using Stdout #1731

menelaos opened this issue Oct 15, 2014 · 0 comments

Comments

@menelaos
Copy link

Currently

stylus -p file1.styl file2.styl

does not always print the resulting CSS in the order of the files
given as arguments.

The issue is probably with the asynchronous reading of the files in
the compileFile function.

This is not a problem when writing to a file since it doesn't really
matter whether file2.css is written before file1.css.

For using pipes however and for the sake of predictability, it would
be nice if this could be fixed.

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

No branches or pull requests

2 participants