We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
本项目代码开发环境使用webpack构建,同时使用了webpack-dev-server来创建了一个默认端口3666的本地开发服务器。
webpack
webpack-dev-server
开发时所有入口文件均加入了一个hotClient的js(修改自react-dev-utils)。该代码中通过websocket与开发服务器连接,接受代码变动的推送。
react-dev-utils
当发现代码有变动时,会通过 background 环境,执行下面的动作:
扩展管理页面刷新就会自动重载所有的开发状态的tab。借此,就完成了代码变动到扩展重载的功能实现。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
本项目代码开发环境使用
webpack
构建,同时使用了webpack-dev-server
来创建了一个默认端口3666的本地开发服务器。开发时所有入口文件均加入了一个hotClient的js(修改自
react-dev-utils
)。该代码中通过websocket与开发服务器连接,接受代码变动的推送。当发现代码有变动时,会通过 background 环境,执行下面的动作:
扩展管理页面刷新就会自动重载所有的开发状态的tab。借此,就完成了代码变动到扩展重载的功能实现。
The text was updated successfully, but these errors were encountered: