Use grunt for intelligent compiling.

That middleware didn't work well at all!