Created
February 20, 2013 18:52
-
-
Save vidyuthd/4998034 to your computer and use it in GitHub Desktop.
Grunt StopWatch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Need a handle to find out time taken by individual or group or all tasks done by grunt. Currenlty there is no way to find out the time taken by individual task since each individual task is invoked by grunt and we don't have any callback or handle on it to invoke custom methods, unless we write a custom taks ourself and insert after every task and then printing the time taken by using process.hrtime , though some of the tasks do print time taken. For this proper way should be Grunt should emit events after completing tasks, the level at which it should be generated could be brainstormed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment