Skip to content

Update package.json#4

Open
santteegt wants to merge 1 commit into
abridged:masterfrom
santteegt:patch-2
Open

Update package.json#4
santteegt wants to merge 1 commit into
abridged:masterfrom
santteegt:patch-2

Conversation

@santteegt

Copy link
Copy Markdown

Enable server hot reloading in dev mode

enable server hot reloading in dev mode
Comment thread package.json
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"start": "npm run rebuild && node dist/server",
"server": "node dist/server",
"server": "nodemon dist/server",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe have "server:dev": "nodemon dist/server"?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I think the start script is doing a production spinup while server is used for dev

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.

2 participants