Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

chore: remove nodemon#16

Open
thgh wants to merge 2 commits into
payloadcms:masterfrom
thgh:chore/swc-node
Open

chore: remove nodemon#16
thgh wants to merge 2 commits into
payloadcms:masterfrom
thgh:chore/swc-node

Conversation

@thgh

@thgh thgh commented Jan 26, 2023

Copy link
Copy Markdown

Hi, this is just a suggestion. Based on my benchmarks, this improves startup time in this repo from 2220 ms to 1975 ms. In my personal project it improves startup time from 1900 ms to 1391 ms. (Best of 10 runs)

@thgh thgh changed the title chore: replace ts-node with swc-node chore: remove nodemon Feb 2, 2023
@thgh

thgh commented Feb 2, 2023

Copy link
Copy Markdown
Author

omg, I have been using nodemon for months based on the demo repo, turns out there is no reason to restart the app for every change. This PR delivers the intended Payload CMS behaviour.

Edit: it's for reloading server files

@jacobsfletch

Copy link
Copy Markdown
Member

Related: #20

@thgh

thgh commented Jul 11, 2023

Copy link
Copy Markdown
Author

Related: payloadcms/payload#2563

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants