prettier/prettier-atom

Watch .prettierrc for changes and reload without cache if so

Offen

#270 geöffnet am 15.09.2017

 (13 Kommentare) (10 Reaktionen) (1 zugewiesene Person)JavaScript (93 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (749 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide