# Hugo creating public directory locally

**URL:** <https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488>\
**Category:** support\
**Created:** [February 25, 2024, 11:57am UTC](https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488 "2024-02-25T11:57:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caramboo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/caramboo/32/12309_2.png) [@Caramboo](https://discourse.gohugo.io/u/Caramboo)\
**Post date:** [February 25, 2024, 11:57am UTC](https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488/1 "2024-02-25T11:57:24Z")

</div>

I upgraded my local Hugo installation to v0.123.3 yesterday. When I run it in server mode, it now creates the public directory which it didn’t do previously.

I created a new site thinking something was wrong with my current set up, and simply running hugo server had the same effect, it creates the public directory.

Is this a deliberate change?

---

<div class="post-metadata">

**Author:** ![chrillek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/chrillek/32/19797_2.png) [@chrillek](https://discourse.gohugo.io/u/chrillek)\
**Post date:** [February 25, 2024, 12:11pm UTC](https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488/2 "2024-02-25T12:11:12Z")

</div>

Yes, deliberate.  
Please check out the release notes and the latest posts here.

---

<div class="post-metadata">

**Author:** ![frjo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frjo/32/18626_2.png) [@frjo](https://discourse.gohugo.io/u/frjo)\
**Post date:** [February 25, 2024, 1:27pm UTC](https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488/3 "2024-02-25T13:27:02Z")

</div>

If you want the old behaviour you can run:

`hugo server --renderToMemory`

---

<div class="post-metadata">

**Author:** ![Caramboo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/caramboo/32/12309_2.png) [@Caramboo](https://discourse.gohugo.io/u/Caramboo)\
**Post date:** [February 25, 2024, 1:59pm UTC](https://discourse.gohugo.io/t/hugo-creating-public-directory-locally/48488/4 "2024-02-25T13:59:50Z")

</div>

Ah cool. All good.
