# How to correctly add bxslider to my theme

**URL:** https://discourse.roots.io/t/how-to-correctly-add-bxslider-to-my-theme/1952
**Category:** sage
**Created:** 2014-07-16T19:05:18Z
**Posts:** 15
**Showing post:** 12 of 15

## Post 12 by @cfx — 2014-07-17T15:18:14Z

From the docs:

> Available Grunt commands

> `grunt dev` — Compile LESS to CSS, concatenate and validate JS  
> `grunt watch` — Compile assets when file changes are made  
> `grunt build` — Create **minified** assets that are used on non-development environments

If you set `define('WP_ENV', 'development');` in your `wp-config.php` then Roots will **not** use minified assets.

You can make `grunt watch` create minified assets if you like, see this post: [Add x.min.css & x.min.script to watch - #4 by cfx](http://discourse.roots.io/t/add-x-min-css-x-min-script-to-watch/1920/4)

---

_[View the full topic](https://discourse.roots.io/t/how-to-correctly-add-bxslider-to-my-theme/1952)._
