请问react 出错了 就要重新编译吗,能否设置的像vue一样报错了但是项目还在跑

failed Re-building development bundle - 0.370s

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

我这里代码写错了就会崩掉,然后要重新编译,稍微麻烦了点

不是热更新 吗? 不是的话,就得重新运行 。可以配置 hrm热更新