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

Option to specify exclude patterns on the command line #16

Open
mgedmin opened this issue Apr 14, 2014 · 4 comments
Open

Option to specify exclude patterns on the command line #16

mgedmin opened this issue Apr 14, 2014 · 4 comments

Comments

@mgedmin
Copy link

mgedmin commented Apr 14, 2014

I'd like to use when-changed to run blogofile whenever any of my website sources changes, but unfortunately blogofile writes the output into a subdirectory of the source directory, which triggers when-changed again. Infinite loop.

I'd love to be able to tell when-changed to please ignore changes to website/_site.

@Cypher1
Copy link
Contributor

Cypher1 commented Sep 16, 2016

Can you use source/*(filetype you care about)?

@Cypher1
Copy link
Contributor

Cypher1 commented Jan 14, 2017

@mgedmin did that work for you?

@mgedmin
Copy link
Author

mgedmin commented Jan 16, 2017

I've switched to livereload in the mean time, so this issue doesn't bother me personally any more.

@ocervell
Copy link

ocervell commented Sep 2, 2021

+1, exclude pattern would be nice. E.g I want to restart Docker container on every code changes (. folder) except those in the lib/ folder where I just want to restart Apache within the Docker container. There are probably many examples similar to this.

@ocervell ocervell mentioned this issue Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants