10000 GitHub - cmuench/inotify-proxy at 0.0.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A utility to help detect file changes in docker containers where filesystem is mounted by NFS. It's much more powerful and faster than other similar solutions.

License

Notifications You must be signed in to change notification settings

cmuench/inotify-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inotify-proxy

This tools helps to detect changed files in Docker containers. If a file is changed from hostsystem a file watcher inside the container detects the change and triggers a inotify event.

Purpose

Enables file watcher in a Docker container with a NFS mounted filesystem.

Usage

Usage of ./inotify-proxy:
  -profile string
        Defines a special profile with extensions to look for. This speeds up the process. Available profiles are 'magento2-theme' (default "default")
  -sleep int
        Cycle time in seconds. Defines time to sleep after each filesystem walk. Default 2s (default 2)

Examples

# Magento 2 Profile
./inotify-proxy -profile magento2 path/to/your/project

# Change frequence of file checks to 5s (default 2s)
./inotify-proxy -sleep 5 path/to/your/project

# Multiple pathes to watch ...
./inotify-proxy project/path1 project/path2 

Supported Profiles

Profile Allowed file extensions
default All extensions are allowed
magento2 .css .html .less .sass .js .php .phtml .ts .xml
magento2-theme .css .hs .less .sass .ts
vue-storefront .css .js .sass ts

About

A utility to help detect file changes in docker containers where filesystem is mounted by NFS. It's much more powerful and faster than other similar solutions.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0