prettier/prettier-atom

Watch .prettierrc for changes and reload without cache if so

Open

#270 ouverte le 15 sept. 2017

Voir sur GitHub
 (13 commentaires) (10 réactions) (1 assigné)JavaScript (764 stars) (106 forks)batch import
enhancementhelp wanted

Description

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.

Guide contributeur