# Faster rebuilds?

**URL:** <https://meta.discourse.org/t/faster-rebuilds/40341>\
**Category:** Self-hosting\
**Created:** [29 Febbraio 2016, 4:43pm UTC](https://meta.discourse.org/t/faster-rebuilds/40341 "2016-02-29T16:43:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![iamntz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamntz/32/114670_2.png) [@iamntz](https://meta.discourse.org/u/iamntz)\
**Post date:** [29 Febbraio 2016, 4:43pm UTC](https://meta.discourse.org/t/faster-rebuilds/40341/1 "2016-02-29T16:43:06Z")

</div>

Hey guys, I wonder if there is a way to run `./launcher rebuild app` a bit faster. Right now it takes 6-9 minutes to do the whole stuff and i’d like to skip some stuff that looks a bit useless:

These three commands takes a lot of time (about 20-30-60 sec each)

- `cd /var/www/discourse && chown -R discourse /var/www/discourse`
- `cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development'`
- `cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'`

Compiling assets for each locale is also take about a minute, uglifying js is also takes some time.

Aaaaanyhooow, I was hoping there is a way of semi-rebuilding (?!) the app a bit faster than that. I understand the need of running all of these when you’re installing an update or a new plugin, but sometimes I only need a very quick „restart” for more… special cases:

- update of a SSL cert
- the other day i tried to make it play nice with other sites (following [this](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247) article) and i had to rebuild couple of times.

PS: `time ./launcher rebuild app --skip-prereqs` is giving only negligible improvements:

```bash
real 5m27.461s
user 0m1.027s
sys 0m0.652s

```

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/faster-rebuilds/40341)._
