Re-compile when config changes
未关闭
还没有人认领这个 Issue。
bug
discuss
help wanted
- 主要语言
- Elixir
- 星标
- 46
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
描述
We need to work out how to re-compile the pre_commit task when the config changes.
Example:
A user sets up pre_commit for a project with just test in the config.
The next day, the user adds credo --strict to the config, but the pre_commit doesn't update 😢
Currently the only way to force an update is to delete the build folder and recompile.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先追踪 pre_commit 任务以及它如何读取项目 config 和构建目录。通过更改 config 确认当前行为,然后验证该任务是否会重新编译或刷新其生成的 hook,而无需删除构建目录。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- elixir
- 领域
- build-system, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100