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

Custom ignore list #117

Open
mildred opened this issue Aug 19, 2022 · 3 comments
Open

Custom ignore list #117

mildred opened this issue Aug 19, 2022 · 3 comments

Comments

@mildred
Copy link

mildred commented Aug 19, 2022

I have a project where at the top of the project I store my postgresql data directory, which is owned by a container and not accessible by my own user. I'd like modd to be able to ignore it when watching files as currently it outputs:

$ modd
18:26:18: daemon: devd
>> stopping
18:26:18: daemon: rails
>> stopping
18:26:18: daemon: eventsource
>> stopping
...
18:26:18: Error watching: could not watch path '/home/me/current-directory': open /home/me/current-directory/pgdata-13: permission denied

I use modd to start daemons and I do not use the watch file feature, so if I start modd -c to disable watching modd.conf, it works.

Ideally, it should be possible to provide a custom ignore list

@jesselang
Copy link
Contributor

Does that error message appear once, or during each daemon reload? Outside of the error message shown above, does modd work as you expect? Could you please clarify whether modd -c meets your needs? Thanks!

@epiphyllum
Copy link

I encounter the same problem. under my project dir, there is a directory which is not owned by the current user.
then, when modd run , it complains that it can not access ./data/xxxx permission denied

@epiphyllum
Copy link

can modd provide an parameter to config to exclude some directory from being monitored

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

3 participants