-
Notifications
You must be signed in to change notification settings - Fork 14
Compile doesn't work #20
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
Comments
Thanks! Especially for the repo to reproduce (you can't imagine how much it helps!). I've updated the README with notes: https://github.com/guard/guard-coffeescript/blob/master/README.md#important-notes I've also opened an issue for this (I might fix it someday, but can't promise): #21 |
@e2 I followed your instructions to compile but it is not putting my files in # Compile Coffeescript
coffeescript_options = {
input: 'scripts/coffee',
output: 'scripts/js',
patterns: [%r{scripts/(.*)\.coffee$}]
}
guard 'coffeescript', coffeescript_options do
coffeescript_options[:patterns].each { |pattern| watch(pattern) }
end Have any ideas why it adding the extra |
The handling was a bit complex and I never fully understood. I can't check
Try changing both patterns, e.g. to
There's some magic, but it could also be a bug, so let me know if that
|
@e2 I actually solved it by adding the # Compile Coffeescript
coffeescript_options = {
input: 'scripts',
output: 'scripts/js',
patterns: [%r{scripts/(.*)\.coffee$}]
}
guard 'coffeescript', coffeescript_options do
coffeescript_options[:patterns].each { |pattern| watch(pattern) }
end Hadn't checked the documentation thoroughly. |
Don't worry about it - I'm just glad the documentation was enough to On Wed, Aug 26, 2015 at 03:01:20PM -0700, Jonathan Simcoe wrote:
|
Hello, @e2 and all ruby hackers!
On this small library i am trying to exec
It notify, that everythins is compile but there is no js output here!
I read carefully Guard README, guard-coffescript readme, but i can't understand what is going wrong
Here is Guard file
I am trying also to create output dir like this
But it also, doesn't compile anything
Note: To reproduce the bug, just clone the library above, and reproduce the obviouse steps, descriped above.
I will also repost this issue in google group 😄
With best regards, Ruslan.
The text was updated successfully, but these errors were encountered: