Below is a schema which shows the order of function calls inside brunch while it bundles stuff.
watch
which you can find in lib/watch.js
.You can start brunch with debug mode by adding d
flag, for example: brunch build -d
Be sure to check out brunch commands here.