# Is there a faster way to develop plugin theme CSS / JS (e.g. livereload)?

**URL:** <https://meta.discourse.org/t/is-there-a-faster-way-to-develop-plugin-theme-css-js-e-g-livereload/63859>\
**Category:** Development\
**Created:** [June 3, 2017, 12:45am UTC](https://meta.discourse.org/t/is-there-a-faster-way-to-develop-plugin-theme-css-js-e-g-livereload/63859 "2017-06-03T00:45:50Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**Post date:** [January 19, 2018, 10:29pm UTC](https://meta.discourse.org/t/is-there-a-faster-way-to-develop-plugin-theme-css-js-e-g-livereload/63859/12 "2018-01-19T22:29:32Z")

</div>

Hey @sam,

Should this work for JavaScript files too?, I’m trying it but I have to remove the cache every time I add/edit a file.

I added this line to see if sprockets pick up new changes and it works without removing the cache.

```ruby
# config/environments/development.rb
config.assets.paths += %W(#{config.root}/plugins/<plugin-name>/assets/javascripts/**/*)

```

Should we add this by default in development? (for all plugins instead of a specific one), or there’s a better way?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-faster-way-to-develop-plugin-theme-css-js-e-g-livereload/63859)._
