duojs / duo

A next-generation package manager for the front-end
3.42k stars 118 forks source link

new duo version (0.9.0) compiles JS build differently #414

Closed dannycochran closed 9 years ago

dannycochran commented 9 years ago

With duo 0.8.10, I would run:

duo app/build/build.js > dist/build.js

That resulted in duo compiling all of the files required in app/build/build.js to dist/build.js, e.g. the expected behavior.

In 0.9.0, it results in duo creating a blank dist/build.js, and a build/app/build/build.js in the root directory. The build.js in the latter directory has the correct javascript build, but it's in the wrong location.

I tried using the root flag but that actually seems to make duo hang indefinitely, so I'm not sure if I'm doing something wrong or if this is a bug.

dominicbarnes commented 9 years ago

Yeah, as of 0.9 we don't use stdout by default. (the reasoning is outlined in #406)

I'll work on making these recent changes clear in the readme, for now you can add the --stdout flag to get the previous behavior.

dannycochran commented 9 years ago

ah, thanks!

dominicbarnes commented 9 years ago

Just a follow-up, I've updated duojs.org and the duo readme, feel free to make further changes @duojs/core