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

The guard is awfully finicky. #12

Closed
mybuddymichael opened this issue Mar 17, 2012 · 4 comments
Closed

The guard is awfully finicky. #12

mybuddymichael opened this issue Mar 17, 2012 · 4 comments

Comments

@mybuddymichael
Copy link

Using

guard 'coffeescript' do
  watch %r{.+\.coffee$}
end

... I'd expect each .coffee file to be compiled into an appropriate .js file in each respective directory, similar to every other guard that compiles something. Instead all the .js gets compiled into the top-level directory. Am I missing something?

@netzpirat
Copy link
Owner

It looks like you're the first one after over 30'000 downloads who uses this Guard and does not use different source and target directories. You could have avoid your troubles by just adding an output directory, as described in my response to you in #11 or in the README.

The problem was a wrong implementation to fix #11 and I finally fixed it now correctly and added the missing spec I omit last time (my bad!). Version 0.5.6 is released for you.

@mybuddymichael
Copy link
Author

I've tried setting :output to '', '.', and './' to no avail. None of those allow me to simply compile .coffee files into .js files in each respective directory.

@netzpirat
Copy link
Owner

You're right, that is only working when supplying a directory. I'm sorry about that.

@mybuddymichael
Copy link
Author

Nice. Thanks.

netzpirat added a commit that referenced this issue Sep 25, 2013
:hide_success shows success notification after a failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants