咕噜更快的加载任务 [英] grunt faster loading tasks

查看:123
本文介绍了咕噜更快的加载任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人能告诉我如何更快地加载grunt任务。
我真的想减少加载时间,因为大多数任务需要1秒加载。



特别是对于'watch'任务。当我在观察变化时,我真的想要更快地编译sass。



有什么想法?

Thanx

解决方案

您真的很想找到这个: jit-grunt



不是每次加载所有任务,jit-grunt只会加载那些必需的。


Is there anybody who can tell me how to get grunt tasks load faster. I really want to reduce the loading time, because most tasks require 1 second to load.

Especially for 'watch' task. when I am watching for changes, I really want to compile sass much faster.

Any ideas?

Thanx

解决方案

You are really looking for this: jit-grunt.

Instead of loading all tasks every time, jit-grunt will only load those that are necessary.

这篇关于咕噜更快的加载任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆