Open jaoxford opened 2 weeks ago
Bit of an update:
I managed to get this to work, but there's a few things that don't work exactly as I had hoped.
It seems that running prettier from the file watcher behaves differently than how it's run in the pom.xml
file, I think there's a few ways of getting this locked down.
mvn prettier:write
inside of the file watcher instead of manually providing the prettier location..prettierrc
in both ways of running prettier: From the file watcher / command line, & the pom / mvn
Just curious if there's a way of formatting this on save? I am using intelliJ. I have tried to use the file-watcher plugin, with the following config for my IDE:
When I save my file I get the following error:
Here's the output of print-args:
And if I manually trigger prettier:write that is also fine. Ideally this would be something that runs on every save, so I don't have to think about it!
Any idea or help would be appreciated!