Closed MrC8 closed 11 months ago
@MrC8 Yes.
"watcher": {
"files": "wp-content/themes/mytheme/{folder_1,folder_2}/**/*.{js,css}",
"autoUpload": false,
"autoDelete": false
}
That configuration is watching and upload when the files is modified:
"wp-content/themes/mytheme/folder_1/bak/file.css"
"wp-content/themes/mytheme/folder_1/bak/cache/file.js"
"wp-content/themes/mytheme/folder_2/bak/admin.css"
....
But not this:
"wp-content/themes/mytheme/folder_2/style.css"
Is there a way to watch files in differents folders ? I tried something like this :
"watcher": { "files": "wp-content/themes/mytheme/{folder_1,folder_2}/**/*.{js,css}", "autoUpload": true, "autoDelete": false }