prettier/prettier-atom

Watch .prettierrc for changes and reload without cache if so

开放

#270 创建于 2017年9月15日

 (13 条评论) (10 个反应) (1 位负责人)JavaScript (93 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (749 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

If I change any configuration in my .prettierrc file after atom having been opened, the changes don't seem to be applied.

Is this intended? It seems the config is cached when atom launches and then it uses this one the whole time the editor is opened, meaning if I make a change to the config I need to restart atom.

It wasn't so intuitive to me initially and I would have thought it would lookup the .prettierrc config everytime it formats to make sure it's using the right config.

贡献者指南