diff --git a/src/app.rb b/src/app.rb index b560695..f71d574 100755 --- a/src/app.rb +++ b/src/app.rb @@ -1,7 +1,10 @@ #!/usr/bin/ruby -w require "sinatra" -require "sinatra/reloader" +if ARGV[0] == "debug" then + puts "Running app in debug mode..." + require "sinatra/reloader" +end require "slim" require "sqlite3"