0.0
No release in over 3 years
Low commit activity in last 3 years
Reload gem when we change content of gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.2.8
 Project Readme

ReloaderGem

Reload gem when we change content of gem.

Installation

Add this line to your application's Gemfile:

gem 'reloader_gem'

And then execute:

$ bundle

Or install it yourself as:

$ gem install reloader_gem

Usage

require "reloader_gem"

Reload gem name_of_gem

ReloaderGem.new(name_of_gem).listen

If you know full path into gem

ReloaderGem.new(path_of_gem).listen

Setting the frequency of checking Gemu (in seconds)

ReloaderGem.new(name_of_gem, 0.5).listen

Load the files defined in gem but not 'require'

ReloaderGem.new(path_of_gem, 0.1).load("lib/reloader_gem_spec/*.rb").listen