prettier/prettier-atom

Watch .prettierrc for changes and reload without cache if so

Open

#270 建立於 2017年9月15日

在 GitHub 查看
 (13 留言) (10 反應) (1 負責人)JavaScript (764 star) (106 fork)batch import
enhancementhelp wanted

描述

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.

貢獻者指南

Watch .prettierrc for changes and reload without cache if so · prettier/prettier-atom#270 | Good First Issue