guard / listen

The Listen gem listens to file modifications and notifies you about the changes.
https://rubygems.org/gems/listen
MIT License
1.92k stars 246 forks source link

Not working in GrapeAPI #468

Closed masong2012 closed 3 years ago

masong2012 commented 4 years ago

listener = Listen.to(File.expand_path('../app/apis', dir), only: /.rb$/) do |modified, added, removed| modified.each do |path| puts path load path end end

listener.start

change some files in app/apis dir, it puts the change file path, but the grape return the old code. how can i make it work with grape??

ColinDKelley commented 3 years ago

It's been a couple years with no discussion here, so I'm going to close this issue.