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

RFC:father 支持 --watch-only #767

Closed
sorrycc opened this issue Jul 30, 2024 · 0 comments · Fixed by #768
Closed

RFC:father 支持 --watch-only #767

sorrycc opened this issue Jul 30, 2024 · 0 comments · Fixed by #768
Labels
enhancement New feature or request

Comments

@sorrycc
Copy link
Member

sorrycc commented Jul 30, 2024

背景

在 Smallfish 里接入 father 时,发现 dev 还是慢。而由于日常开发流程里,可能先 build,也可能上次 dev 已启动过,此时启动 dev 其实无需额外先做一次 build,只要做 watch,然后有变更时做对应文件的 transform,这样启动速度就更快。

方案

为 dev 命令新增 --watch-only 参数,不做 bundless 和 bundle 的 compile,只做 watch。

@sorrycc sorrycc added the enhancement New feature or request label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant