-
Notifications
You must be signed in to change notification settings - Fork 64
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
Setting the 'compileDir' #30
Comments
Thank you for reporting this! I think you are doing everything right. From a quick glance at the code I see that here it should print the folder you specified in the console. To help me find the problem you might first want to copy paste the console messages, see if it says something like From that you should be able to see on the console:
Those are the console outputs you should get after removing the Basically just copy paste some console outputs for me so that I can see where the problem lies! If you need any help gathering these information feel free to ask and I'll write a more visual and detailed response! |
Okay, after uncommenting and adding a quick
Again, there's still no output to However, if run For reference, if is set
In this case, I get javascript output in the same directory as my coffee files, which is expected. Let me know if you need me to help out anymore. I'd debug myself a little more, but I'm not that familiar with python. |
You aren't on Windows are you? |
Nah. I'm on a Mac. Mountain Lion. Arjan Typos by iPhone. On Mar 10, 2013, at 8:59 PM, Logan Howlett notifications@github.com wrote: You aren't on Windows are you? — |
I'll run tests on linux, and check for compatibility... Thanks for the updates :) |
Hey I was digging around. It seems like everything is compiling into It appears that if you specify a If I can get a change working I'll submit a pull request, but I'd thought I'd give you the heads up in case you can solve it faster. |
Modified code to check for relative or absolute path for "compileDir".
Ok... I haven't tested it yet, and merged the pull request. I hope it works! 😃 |
😃 I tested it out on Mac. The filesystem will throw an error if you don't have permissions to create, but I think that's desired behavior. |
Okay, so I've organized my project as follows:
/projectroot/coffee
/projectroot/js
I want the coffee-script in 'coffee' to compile into 'js'. I set my compileDir to '../js/' since that should be the relative path from my coffee-script directory. However, whenever I try to compile, it doesn't save to 'js'. If I just set compileDir to 'true' it'll compile in 'coffee' just fine.
I hope I'm being stupid and just forgetting something. Any thoughts?
The text was updated successfully, but these errors were encountered: