Coder Social home page Coder Social logo

Comments (3)

bep avatar bep commented on June 2, 2024

the server the public site is generated automatically without me running the hugo command to build the site.

I'm not totally sure what you mean by this, but

  1. In Hugo v0.123.0 we changed the default behaviour of the server to write to disk (/public) instead of to memory. This is what mot people would want and that is especially true for bigger sites.
  2. You can get the old behaviour by running hugo server --renderToMemory.

from hugo.

pmbrown avatar pmbrown commented on June 2, 2024

I'm not totally sure what you mean by this

To publish the site in v0.122.0 and earlier I had to run the command hugo seperately, with v0.125.3 running hugo server runs the development server and publishes the static site in the public directory.

I'd noticed the writing to disk change but figured because the docs still outlined that running the server and publishing the site are two seperate commands nothing had changed.

Running hugo server --renderToMemory does revert the behaviour as suggested, and as I would definitely consider myself a minority user it solves my issue so thank you.

from hugo.

github-actions avatar github-actions commented on June 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from hugo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.