[wp-trac] [WordPress Trac] #44328: grunt watch does not include cssmin; changes to css files in src are copied to build but not minified

WordPress Trac noreply at wordpress.org
Fri Jun 8 00:59:22 UTC 2018


#44328: grunt watch does not include cssmin; changes to css files in src are copied
to build but not minified
------------------------------+---------------------
 Reporter:  allendav          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+---------------------
Changes (by netweb):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 5.0


Comment:

 Historically the Grunt ''watch'' tasks did not run the CSS and JS
 ''minify'' tasks as `SCRIPT_DEBUG` was defined `true` when developing in
 the `src` folder.

 With the new ''build'' process JS files are minified as part of the
 ''watch'' task, we should do the same for CSS files

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44328#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list