Skip to content

Commit 736730b

Browse files
author
Mark Malek
committed
More debug statements
1 parent b0b0d57 commit 736730b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/rails/tasks/websocket_rails.tasks

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ namespace :websocket_rails do
1717
else
1818
Thin::Controllers::Controller.new(options).start
1919
end
20-
21-
if options[:callback]
20+
puts "starting up before callback..."
21+
unless options[:callback].nil?
22+
puts "in callback"
2223
load options[:callback]
2324
end
25+
puts "starting up before callback..."
2426

2527
puts "Websocket Rails Standalone Server listening on port #{options[:port]}"
2628
end

0 commit comments

Comments
 (0)