Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Demo hot reload 不生效,命令行报错 #642

Closed
ni742015 opened this issue Aug 30, 2021 · 1 comment · Fixed by #645
Closed

React Demo hot reload 不生效,命令行报错 #642

ni742015 opened this issue Aug 30, 2021 · 1 comment · Fixed by #645
Assignees
Labels
bug Something isn't working

Comments

@ni742015
Copy link

使用的 Kraken 版本 | What version of kraken are you using

Version: v0.8.3

重现步骤 | Steps To Reproduce

  1. 运行react demo
  2. 命令行中执行 kraken http://localhost:3000/static/js/bundle.js
  3. 修改部分代码
  4. 命令行中出现如下报错,页面未变化
    image

重现代码 | Code example:
https://github.com/openkraken/gallery/tree/main/demos/hello-react

预期结果 | Expected results:
代码修改后,页面自动刷新

实际结果 | Actual results:
代码修改后,页面未刷新、命令行中有报错

@ni742015 ni742015 added the bug Something isn't working label Aug 30, 2021
@answershuto
Copy link
Member

我看下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants