Skip to content

Listen file changes with the polling method

Compare
Choose a tag to compare
@AlexB52 AlexB52 released this 23 Jul 11:25
· 86 commits to main since this release

Some filesystems won't work without polling (VM/Vagrant Shared folders, NFS, Samba, sshfs, etc.).
https://github.com/guard/listen#issues--limitations

In this situation we introduce a new flag --polling to force the polling method on the Listen gem when using retest

Examples:

$ retest --polling
$ retest --polling --all 
$ retest --polling 'bundle exec rubocop <changed>'