# Auto-regeneration site won't build

**URL:** <https://talk.jekyllrb.com/t/auto-regeneration-site-wont-build/1669>\
**Category:** Help\
**Created:** [April 4, 2018, 7:58pm UTC](https://talk.jekyllrb.com/t/auto-regeneration-site-wont-build/1669 "2018-04-04T19:58:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrtunes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mrtunes/32/885_2.png) [@mrtunes](https://talk.jekyllrb.com/u/mrtunes)\
**Post date:** [April 4, 2018, 7:58pm UTC](https://talk.jekyllrb.com/t/auto-regeneration-site-wont-build/1669/1 "2018-04-04T19:58:14Z")

</div>

i am trying to learn how to use collections so i had done some work with the config file. now when i try to serve the site from terminal it shows:

Incremental build: disabled. Enable with --incremental  
Generating…  
done in 0.634 seconds.  
Auto-regeneration: disabled. Use --watch to enable.

if I run it with --watch nothing gets loaded to localhost:4000. the only thing that might’ve happened while I was working in this session is I had cloned the jekyll docs folder on github to try to take a look at how it uses collections, and i ran the rake install on that which might’ve added a gem to my system.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [April 5, 2018, 3:25am UTC](https://talk.jekyllrb.com/t/auto-regeneration-site-wont-build/1669/2 "2018-04-05T03:25:57Z")

</div>

Running a rake task in the cloned Jekyll repository does not mess anything up.  
The output in your post above `done in 0.634 seconds.` means that Jekyll did not encounter any fatal errors along the way.

But the `Auto-regeneration: disabled. Use --watch to enable.` message is telling me that you ran `jekyll build` instead of `jekyll serve`…  
`jekyll build` will not mount your site to localhost.

  

Walkthrough the following to serve the official Jekyll docs site on your browser:

- `cd` into the `docs` folder of the cloned repository.
- run `bundle install` to install any missing plugins.
- run **`bundle exec jekyll serve`**
- wait for the `done in ... seconds` message
- wait for Jekyll to mount its local server (till you see `Server running... press ctrl-c to stop.`)
- open your browser and go to `http://localhost:4000`

**Note:** Auto-regeneration is enabled by default when your run `jekyll serve`, so there’s no need of the `--watch` switch.

---

<div class="post-metadata">

**Author:** ![mrtunes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mrtunes/32/885_2.png) [@mrtunes](https://talk.jekyllrb.com/u/mrtunes)\
**Post date:** [April 5, 2018, 12:37pm UTC](https://talk.jekyllrb.com/t/auto-regeneration-site-wont-build/1669/3 "2018-04-05T12:37:35Z")

</div>

oh wow you are right, i was typing in **build** instead of **serve**. i must’ve had a bad case of tunnel vision on that one! thanks.
