最佳答案
I'd like to run webpack in --watch
mode, and run a shell command after each build that synchronizes a folder to another one.
I found this plugin that triggers an event after each build. That works, but the last piece of the puzzle is to trigger a shell command (for syncing) from Javascript. Any pointers on how to achieve this are greatly appreciated.