Skip to content

Code reloading in Rails development stalls #359

Description

@dysonreturns

Hey :)

I've noticed that any code changes to Rails apps in development, i.e. modifying any controller code, makes all future requests hang. It stalls everything, even unmodified controllers.

Starting a puma server doesn't give me the same problem.

Is this a known limitation with falcon + rails/zeitwerk, has something regressed or is it just me?


Environment:
OS: macOS
Ruby: either 4.0.5 or 3.4.10
Rails: either 8.1.3 or 8.2.0-alpha
falcon: 0.55.5
falcon-rails: 0.2.4

Step to reproduce:

  • I start a blank Rails app using all default settings.
  • Bundler add falcon & falcon-rails
  • Create a route and a controller+action which does anything.
  • Start the server with falcon serve and hit the endpoint
  • Then modify the controller code with any difference
  • Hit the endpoint again. Any further requests are stalled, even default homepage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions