Skip to content

Add npm script to start development server and update README. - #6509

Merged
MarkvanMents merged 3 commits into
mendix:developmentfrom
lmeijvogel:simplify-starting-devserver
Sep 15, 2023
Merged

Add npm script to start development server and update README.#6509
MarkvanMents merged 3 commits into
mendix:developmentfrom
lmeijvogel:simplify-starting-devserver

Conversation

@lmeijvogel

Copy link
Copy Markdown
Contributor

This PR changes the documentation package.json and README to simplify the Hugo development server startup.

@CLAassistant

CLAassistant commented Sep 12, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@MarkvanMents

Copy link
Copy Markdown
Collaborator

@lmeijvogel
Thanks for this Lennaert. This makes the command much simpler.
I will discuss with the team whether this is the best name for the command to build and serve the site, but great that you have pointed me at an npm function which I wasn't aware of.
I might keep the other instructions as well, in case someone wants to change the hugo parameters (to build production, for example) but this is a great improvement for 99% of the cases of everyday use.

@MarkvanMents MarkvanMents left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lmeijvogel
Thanks for the PR, it makes life much easier!
I've left npm start as a script, so you can still use that, but added npm run build and documented that as it is more descriptive for users who are not used to npm conventions.
Thanks for improving the user experience for local builds.
Mark

@MarkvanMents
MarkvanMents merged commit 8a013be into mendix:development Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants