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

sc-server option to disable project monitoring #62

Open
alexryd opened this issue Jun 25, 2011 · 0 comments
Open

sc-server option to disable project monitoring #62

alexryd opened this issue Jun 25, 2011 · 0 comments

Comments

@alexryd
Copy link

alexryd commented Jun 25, 2011

I'm having trouble with sc-server taking up a lot of CPU time. I've traced the problem down to the thread that is started by the SC::Rack::Builder.monitor_project! method. Apparently every 2 seconds it goes through every file in the project, checking if something has changed?

Right now I have commented out the line did_reload = reload_project! in the call method. I rather restart sc-server every time I add a new file to my project (which is not that often) than have it hog my CPU. It would be nice though if there was a project config or a command line option that would disable monitoring so that I didn't have to edit the source code.

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

1 participant