You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relatively new to this stack. One thing that just tripped me up was that when using other contribs (jshint, concat, uglify, copy), they all have an implicit 'default' task. Less is the only one I have encountered which requires a task level.
//Runs as default task
less: {default: {files: {"dist/css/foo.css": "style/foo.less"}}}//Runs as default or develop task
less: {develop: {files: {"dist/css/foo.css": "style/foo.less"}}}//Does not run anything. No warnings. No errors
less: {files: {"dist/css/foo.css": "style/foo.less"}}
If someone could explain why this is that would be great. Thanks.
The text was updated successfully, but these errors were encountered:
brendanseabrook
changed the title
Default task inconstancies with other grunt contribs
Default task inconsistencies with other grunt contribs
Sep 14, 2015
Hello,
Relatively new to this stack. One thing that just tripped me up was that when using other contribs (jshint, concat, uglify, copy), they all have an implicit 'default' task. Less is the only one I have encountered which requires a task level.
If someone could explain why this is that would be great. Thanks.
The text was updated successfully, but these errors were encountered: