Low commit activity in last 3 years
No release in over a year
Makes spring watch files using the listen gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 2.7, < 4.0
>= 4
 Project Readme

Listen watcher for Spring

Build Status Gem Version

This gem makes Spring watch the filesystem for changes using Listen rather than by polling the filesystem.

On larger projects this means spring will be more responsive, more accurate and use less cpu on local filesystems.

(NFS, shared VM folders and user file systems will still need polling)

Listen 2.7 and higher and 3.0 are supported. If you rely on Listen 1 you can use v1.0.0 of this gem.

Environment variables

  • DISABLE_SPRING_WATCHER_LISTEN - If set, this disables the loading of this gem. This can be useful for projects where some configurations do not support inotify (e.g. Docker on M1 Macs).

Installation

Stop Spring if it's already running:

$ spring stop

Add this line to your application's Gemfile:

gem 'spring-watcher-listen', group: :development

And then execute:

$ bundle