HUGO

Hugo does not create a public directory

Hello,

When I run hugo locally it doesn’t create a public directory, is there anything specific I need to do? I’m running v0.80

Thanks!

Are you running in server mode by using hugo server? If so, that builds things only in memory. If you’re just running hugo, what’s your current configuration?

Aha, that makes sense. I waas running it by using hugo server indeed. Thanks, I’ll research how to do it properly. I don’t have any config right now, I deleted the test.

You can still create the public dir with hugo serve by running

hugo serve --renderToDisk
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.