You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
11
+
**[watcherd](https://github.com/devilbox-community/watcherd/blob/master/bin/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
12
12
Once all events have happened during one round (`-i`), a trigger command can be executed (`-t`).
13
13
Note, the trigger command will only be execute when at least one add or delete command has succeeded with exit code 0.
14
14
15
15
---
16
16
17
-
If you need the same functionality to monitor changes of listening ports, check out **[watcherp](https://github.com/devilbox/watcherp)**.
17
+
If you need the same functionality to monitor changes of listening ports, check out **[watcherp](https://github.com/devilbox-community/watcherd)**.
18
18
19
19
---
20
20
21
21
### Modes
22
22
23
-
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
23
+
**[watcherd](https://github.com/devilbox-community/watcherd/blob/master/bin/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
24
24
25
25
### Placeholders
26
26
@@ -33,7 +33,7 @@ You can specify the placeholders as many times as you want. See the following ex
33
33
34
34
### Examples
35
35
36
-
By using **[vhost-gen](https://github.com/devilbox/vhost-gen)** (which is capable of creating Nginx or Apache vhost config files for normal vhosts or reverse proxies), the following will be able to create new nginx vhosts on-the-fly, simply by adding or deleting folders in your main www directory. The trigger command will simply force nginx to reload its configuration after directory changes occured.
36
+
By using **[vhost-gen](https://github.com/devilbox-community/vhost-gen)** (which is capable of creating Nginx or Apache vhost config files for normal vhosts or reverse proxies), the following will be able to create new nginx vhosts on-the-fly, simply by adding or deleting folders in your main www directory. The trigger command will simply force nginx to reload its configuration after directory changes occured.
37
37
38
38
```shell
39
39
# %n will be replaced by watcherd with the new directory name
0 commit comments