fix spring ... was not reloading lib folder
This commit is contained in:
parent
f6aae2a01f
commit
1836023a2b
3 changed files with 10 additions and 0 deletions
1
Gemfile
1
Gemfile
|
|
@ -48,6 +48,7 @@ group :development, :test do
|
|||
# preloading environment
|
||||
gem "spring"
|
||||
gem "spring-commands-rspec"
|
||||
gem "spring-watcher-listen"
|
||||
|
||||
# GUID generation
|
||||
gem "uuid", "~> 2.3.8"
|
||||
|
|
|
|||
|
|
@ -201,6 +201,9 @@ GEM
|
|||
spring (1.3.6)
|
||||
spring-commands-rspec (1.0.4)
|
||||
spring (>= 0.9.1)
|
||||
spring-watcher-listen (2.0.0)
|
||||
listen (>= 2.7, < 4.0)
|
||||
spring (~> 1.2)
|
||||
sprockets (3.2.0)
|
||||
rack (~> 1.0)
|
||||
sprockets-rails (2.3.2)
|
||||
|
|
@ -238,6 +241,7 @@ DEPENDENCIES
|
|||
simplecov-rcov (= 0.2.3)
|
||||
spring
|
||||
spring-commands-rspec
|
||||
spring-watcher-listen
|
||||
sqlite3 (~> 1.3.10)
|
||||
uuid (~> 2.3.8)
|
||||
yard
|
||||
|
|
|
|||
|
|
@ -1 +1,6 @@
|
|||
Spring.application_root = "./test/dummy"
|
||||
|
||||
root_path = Pathname.new(File.expand_path("."))
|
||||
Spring.watcher = Spring::Watcher::Listen.new(root_path, 0.2)
|
||||
|
||||
Spring.watch("./lib/")
|
||||
|
|
|
|||
Loading…
Reference in a new issue