[wp-trac] [WordPress Trac] #44241: Increase the interval used by grunt watch to reduce CPU usage
WordPress Trac
noreply at wordpress.org
Sun May 27 14:33:17 UTC 2018
#44241: Increase the interval used by grunt watch to reduce CPU usage
------------------------------+---------------------
Reporter: jeremyfelt | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Changes (by netweb):
* milestone: Awaiting Review => 5.0
Comment:
In [attachment:44241.2.diff] I've moved `options: { interval: 2000 }` to
the top-level option that applies to all the `_watch` sub-tasks rather
than adding it to each sub-task, all ''watch'' tasks will default to this
2s value.
Locally my mid-2014 MacBook Pro sees CPU usage from `grunt watch` sit at
~4%
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44241#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list