"copy_files": [
{
"input_dir": "../source/plugins",
"input_files": [
"."
],
"output_dir": "../deploy/wp-content/plugins"
}
when the file gets changed in this location, i.e. ../source/plugins/plugin/myfile.js
it will be copied to ../deploy/wp-content/plugins/myfile.js
and the log shows this:
File changed:
- ../source/plugins/infinite-scroll/behaviors/local.js
Copying files:
- ../source/plugins/infinite-scroll/behaviors/local.js
Copied files to:
- ../deploy/wp-content/plugins