bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
274 stars 30 forks source link

Don't write or touch the file when there are no changes #61

Closed johan-smits closed 1 year ago

johan-smits commented 1 year ago

I'm running leptosfmt 'src/**/*.rs' to format all the views. But when you have trunk running it sees all the files being touched and goes wild generating for each change a new build.

It is possible to only write files that are changed?