-
Notifications
You must be signed in to change notification settings - Fork 2k
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
coffee -co
fails compiling file names with a leading dot, within a directory (foo/.bar.coffee)
#2539
Comments
This was an intentional change: files/directories starting with |
Interestingly it does appear to want such a file at times:
|
@TrevorBurnham Could we perhaps get a .coffeeignore to resolve this? It's sensible sure, but it would be nice to have a way to override default behaviors, or at least behaviors of ignore files. |
I don't think a
works, whereas
should ignore such hidden files. That way you can use your shell to collect the names of hidden files and pass them in. |
Well
Copying what it can't compile may not be an ideal solution of course, but it would still work for coffee script files without extensions, such as Note that a (Pardon any grammar oddities, i just woke up) |
The way that Trevor says it should be working is the way it is working, as far as I can tell. If you explicitly pass the file name, it'll go. I've pushed commits to make sure we have a file name before checking for a fallback ... and also one to move the |
It's just a different mindset with the compiler, i guess. There was a similar issue where, when attempting to run coffee files. The This was fixed, but if the compiler still ignores dot files than As it is, if you want to compile a project you can use edit: I take that back, #2496 was not fixed, i believe. I misread a project reference. |
It seems
coffee -co
fails when run on a directory that has file names leading with dots.For example, assume you have the following directory structure..
Now, if you run the command
coffee -co foo foo
, your output will be the following..As you can see, only
baz.coffee
is compiled. Is there a way to make.bar.coffee
compile, without manually calling it? And, is this a bug?The text was updated successfully, but these errors were encountered: