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

I can't make the ignore command works #401

Open
bsylvain opened this issue Aug 10, 2017 · 0 comments
Open

I can't make the ignore command works #401

bsylvain opened this issue Aug 10, 2017 · 0 comments

Comments

@bsylvain
Copy link

I recently added ember-cli-rails and an ember app to my rails app. It added a folder dedicated to my ember app at the root of my rails project. In my case the folder is named marketadmin.
Since this directory exist, I cannot make guard works because guard does not like the ember folders with tmp files:

Directory: /home/sylvain/dev/placedemarche/marketadmin/tmp/broccoli_merge_trees-output_path-rlX3b4rm.tmp/marketadmin/tests/unit

    is already being watched through: /home/sylvain/dev/placedemarche/marketadmin/tmp/broccoli_persistent_filterbabel__babel_marketadmin-output_path-Nv8C3Z67.tmp/marketadmin/tests/unit

    MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
    ** ERROR: directory is already being watched! **

I want to add an ignore command to skip this folder in my guardfile, unfortunately I do not understand how ignore works. Here is the example of the documentation:

ignore %r{^ignored/path/}, /public/

Why does ignore take two arguments ? How do I make it skip /marketadmin/ at the root of my rails folder?

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

1 participant