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

dir on command line does not override dir in build.js #94

Closed
jrburke opened this issue Feb 13, 2012 · 0 comments
Closed

dir on command line does not override dir in build.js #94

jrburke opened this issue Feb 13, 2012 · 0 comments
Milestone

Comments

@jrburke
Copy link
Member

jrburke commented Feb 13, 2012

This was reported as RequireJS issue 177 by @DashBDev, but moving it here to track the fix:


I have a default dir specified in my build.js, but I sometimes override it on the command line.

In file:

dir: '../../build/temp'

Command line:

node r-1.0.5.js -o site\build.js  dir=../../build/temp2/

Both temp and temp2 directories are created. temp2 has all the files in an un-optimized state, temp has just a handful of files.
The optimizer errors with "No such file or directory '.../build/temp/xxx.js'"

This same config and command line works fine in 1.0.2.
I'm using node 0.6.9

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