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

feat(perseus-cli): add 'node_modules' to watch exclusions #313

Merged

Conversation

gladion136
Copy link
Contributor

The Problem

Like described inside this issue: 309 perseus serve -w is very slow when listening to a large number of files.

This change

This PR will not fix this in every case but it adds the node_modules folder to the watch exclusions. The 'node_modules' folder is similar to the target folder but from npm and it's often huge. I think a lot of developer has a node_modules folder because they are using bootstrap, tailwind or some other npm dependencies inside there perseus projects.

@arctic-hen7
Copy link
Member

Great idea, this will definitely streamline things significantly for a lot of people! Thanks, and sorry for the late reply!

@arctic-hen7
Copy link
Member

There seem to be some issues in perseus-rocket that are unrelated to this PR but causing the tests to fail, I'll investigate this...

@arctic-hen7
Copy link
Member

All fixed on main, syncing from there should work.

@gladion136 gladion136 force-pushed the feat/309-watch-ignore-large-folders branch from fd4aad0 to dba928c Compare January 30, 2024 21:28
@gladion136
Copy link
Contributor Author

Sorry for the late reply! The branch is now rebased to main.

@arctic-hen7 arctic-hen7 merged commit 3f04e40 into framesurge:main Feb 16, 2024
22 of 23 checks passed
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