Skip to content

Setting fast refresh to false also disables automatic reload #9932

Open
@Pajn

Description

@Pajn

Describe the bug

When I set FAST_REFRESH=false I expect the old behaviour of a full reload of the page, but instead nothing happens.

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

FAST_REFRESH

Environment

❯ npx create-react-app --info

Environment Info:

  current version of create-react-app: 3.4.0
  running from /home/rasmus/.config/yarn/global/node_modules/create-react-app

  System:
    OS: Linux 5.8 Ubuntu 20.10 (Groovy Gorilla)
    CPU: (6) x64 Intel(R) Core(TM) i5-8600 CPU @ 3.10GHz
  Binaries:
    Node: Not Found
    Yarn: Not Found
    npm: Not Found
  Browsers:
    Chrome: 86.0.4240.111
    Firefox: 82.0
  npmPackages:
    react: ^17.0.1 => 17.0.1 
    react-dom: ^17.0.1 => 17.0.1 
    react-scripts: 4.0.0 => 4.0.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. Add FAST_REFRESH=false to the .env file
  2. yarn start
  3. Do a change

Expected behavior

The page reloads

Actual behavior

Nothing, I have to reload manually

Reproducible demo

N/A, just create a new app

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions