add middleware for compiling less