When using `cfformat watch` can I set default fol...
# box-products
s
When using
cfformat watch
can I set default folders to watch? Without using the explicit folder names on the command line?
j
@satauros You can add something like the below in your box.json, then use
box run-script format:watch
Copy code
"scripts":{
        "format":"cfformat run config,models,modules_app,tests,workbench,handlers --overwrite",
        "format:watch":"cfformat watch config,models,modules_app,tests,workbench,handlers",
        "format:check":"cfformat check config,models,modules_app,tests,workbench,handlers"
    },
👍 1