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

Watch doesnt work on folders named "vendor" #1299

Closed
kevcam4891 opened this issue Jun 24, 2014 · 3 comments
Closed

Watch doesnt work on folders named "vendor" #1299

kevcam4891 opened this issue Jun 24, 2014 · 3 comments

Comments

@kevcam4891
Copy link

I have a set of folders I am watching with the command:
sass --load-path ./webroot-src/scss --scss --poll --watch ./webroot-src/scss:./webroot/css/scss

Inside, there is a folder called "vendor". Upon execution sass detects changes once, but doesn't keep polling. All other folders work fine. I even renamed vendor -> vendors and watching works after the first time.

Weird?

@kevcam4891
Copy link
Author

I am running 3.3.8 BTW. I was also experiencing same issue with 3.3.4.

@chriseppstein
Copy link

This is a default that comes from Listen: https://github.com/guard/listen/blob/v1.3/lib/listen/directory_record.rb#L15

More recent versions have a different set of defaults: https://github.com/guard/listen/blob/master/lib/listen/silencer.rb

But why are you editing files from a third-party? This seems like a terrible idea anyway. I suggest you add files to your project that incrementally change the values from the third party in your own files so that future updates are possible.

@kevcam4891
Copy link
Author

Great to know. I tried searching but did not see any answers that
addressed the issue. I am not "editing" files from a third party, but
rather adding layers on top. TinyMCE, for example, has its own set of
CSS that I have in [webroot]/vendor/tinymce/[etc, etc]. I have files
like [webroot]/css/vendor/tinymce.scss that will compliment the base
files. Vendor folder was not parsing and I didn't know why.

Chris Eppstein wrote:

This is a default that comes from Listen:
https://github.com/guard/listen/blob/v1.3/lib/listen/directory_record.rb#L15

More recent versions have a different set of defaults:
https://github.com/guard/listen/blob/master/lib/listen/silencer.rb

But why are you editing files from a third-party? This seems like a
terrible idea anyway. I suggest you add files to your project that
incrementally change the values from the third party in your own files
so that future updates are possible.


Reply to this email directly or view it on GitHub
#1299 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants