Anybody knows a way to do the following: (Using brunch)
Is a plugin the only way?
You could have a:
A nice trick, on the repo representing your deployed app, is to add an attribute which will minify all css files.
See "Compress JS/CSS files on deploy using Git"
My point is: if you need to trigger anything, even with grunt, you need to do so from a git commit.
You don't have to code anything.
brunch build
will do the linting and stuff. Just put it as git hook.
That would be in a post-update hook then, with a cd to a non-bare repo in which you would:
unset GIT_DIR
git pull
brunch build