bin/sb in starting_blocks-0.6.0 vs bin/sb in starting_blocks-0.6.1
- old
+ new
@@ -32,9 +32,12 @@
end
if arguments.include? '--watch'
listener = StartingBlocks::Watcher.start_watching Dir, options
StartingBlocks.display "Going to sleep, waiting for changes"
+
+ puts 'Enter "stop" to stop the listener'
+
listener.start
loop do
user_input = STDIN.gets
if user_input == "stop\n"
exit