Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't save repeatedly while I'm editing #39

Open
Aditya94A opened this issue Oct 31, 2017 · 1 comment
Open

Don't save repeatedly while I'm editing #39

Aditya94A opened this issue Oct 31, 2017 · 1 comment

Comments

@Aditya94A
Copy link

Aditya94A commented Oct 31, 2017

The project seems sadly dead but here's an enhancement idea anyways:

Don't autosave if the cursor was moved within, say, the last 2 seconds. So, while I'm 'going' (moving my cursor to) some other place to edit, it shouldn't auto save repeatedly because I'm not done editing yet. Only when I've stopped editing should it save.

I'm guessing other nodemon users can probably relate. Rebuilding big projects for every little change can add up to a lot of CPU/disk write overhead and make your laptop heat up unnecessarily.

Using the delay setting is not an ideal workaround since I don't want to add a dumb delay, I'd prefer it smartly detected when I'm done editing (when I want it to save). I don't think there's any use case where we want it to auto save repeatedly when we're in the middle of editing some file.

@joker349
Copy link

the person who created this extension is dead...

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

No branches or pull requests

2 participants