Method: Writefully::Process#boot_listener!
- Defined in:
- lib/writefully/process.rb
#boot_listener! ⇒ Object
this listener listens to the specified content folder queues the changes detected into the job queue
87 88 89 90 91 92 93 |
# File 'lib/writefully/process.rb', line 87 def boot_listener! listener = Listen.to config[:content], wait_for_delay: 2, & listener.start while listener.listen? sleep 0.5 end end |