prettier/prettier-atom

Watch .prettierrc for changes and reload without cache if so

Open

#270 geöffnet am 15. Sept. 2017

Auf GitHub ansehen
 (13 Kommentare) (10 Reaktionen) (1 zugewiesene Person)JavaScript (764 Stars) (106 Forks)batch import
enhancementhelp wanted

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