porsager / wright

🚀 Work Fast Work Wright
Do What The F*ck You Want To Public License
180 stars 15 forks source link

add copy config options #30

Closed futurist closed 5 years ago

futurist commented 6 years ago

In a scenario that can just copy to serve: dist folder, with any compile.

Like an images folder, and some helper scripts like service-worker.js that not be bundled to any scripts.

This may call copy, like below:

copy: {
  watch: 'src/**/*.jpg'
}
porsager commented 5 years ago

I think this should be trivial to script in node yourself and outside the scope of wright.