Skip to content

Commit

Permalink
disable code reloading in Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rossta committed Feb 15, 2016
1 parent d6e317b commit c8a5536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: bundle exec hanami server -p $PORT
web: bundle exec hanami server -p $PORT --no-code-reloading
2 changes: 1 addition & 1 deletion apps/web/controllers/tickets/sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Sync
def call(_params)
flash[:message] = "Syncing in progress"

current_user.project.sync!
current_user.project.background_sync!

redirect_to "/tickets"
end
Expand Down

0 comments on commit c8a5536

Please sign in to comment.