Is there a way to automatically run a script (such as copy files from a to b) when the truffle migrate command finishes?
I want to copy the json files from the build/contracts folder into the a folder where my webapp code is.
Currently I use the "truffle develop" command console, soit would be cool, if I could just type "migrate" to for a deployment script to kick in and copy the files.
truffle migrate
and then copies those json files?