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
开发移动端项目,真机调试配置代理到电脑上之后,页面无法热更新
希望可以解决这个问题或者是提供开关关闭热更新
No response
3.4.8
import { defineConfig } from "@ice/app"; import request from "@ice/plugin-request"; import store from "@ice/plugin-store"; // The project config, see https://v3.ice.work/docs/guide/basic/config const minify = process.env.NODE_ENV === "production" ? "swc" : false; export default defineConfig(() => ({ ssg: false, // hash: "contenthash", compileDependencies: false, minify, server: { onDemand: true, format: "esm", }, plugins: [request(), store()], postcss: { plugins: ["tailwindcss"], }, dropLogLevel: false, routes: { // 忽略 src/pages 下所有 components 目录 ignoreFiles: ["**/components/**"], }, }));
The text was updated successfully, but these errors were encountered:
热更新依赖 websocket 服务,需要确认你的代理配置有没有处理好
Sorry, something went wrong.
我的代理没问题,我是把手机代理到电脑上然后通过https访问的开发环境页面,和这个一样的问题#4260, 但是好像一直没解决?
走代理的情况下,可以参考 https://webpack.js.org/configuration/dev-server/#websocketurl 的设置
No branches or pull requests
Describe the bug
开发移动端项目,真机调试配置代理到电脑上之后,页面无法热更新

Expected behavior
希望可以解决这个问题或者是提供开关关闭热更新
Actual behavior
No response
Version of ice.js
3.4.8
Content of build.json or ice.config.mts
Additional context
No response
The text was updated successfully, but these errors were encountered: