add gulp plugin and reflect middleware