jcberquist / commandbox-cfformat

A CommandBox module for formatting CFML component files.
MIT License
21 stars 10 forks source link

"Watch" ignores .cfformat.json #96

Closed Daemach closed 3 years ago

Daemach commented 3 years ago

It appears that "cfformat watch" ignores the .cfformat.json file, while "cfformat run" does not. The lack of consistency caused me a few hours of trying to figure out what was failing. IMHO, if a .cfformat.json file exists, it should be used by default by all cfformat operations unless overridden by passing it a different settings file name.

jcberquist commented 3 years ago

Can you confirm for me you are using the latest version of cfformat? This issue has been raised before: #65 - in my testing locally it works correctly with the current version.

Daemach commented 3 years ago

I can confirm it was happening with v0.15.12 but I see you have a new version up today. I'll have to test that.

CreativeNotice commented 3 years ago

Can confirm this is what I'm seeing as well. Just installed cfformat from forgebox this morning. Running cfformat watch settingsPath=.cfformat.json does utilize the settings file.

v0.15.13