jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

Starting slow after renaming folder #131

Open Webtransformer opened 8 years ago

Webtransformer commented 8 years ago

Hi, I had to move a serve project to a new folder (with new name). Now it needs a few minutes to start. Is there a way to find out whats causing this?

Thanks!

jlong commented 8 years ago

I can think of anything in Serve that would cause this. Can you reproduce this with a sample project? Are you on Windows or Mac?

Webtransformer commented 8 years ago

No, with a new created project everything is fine. I am using Windows 7 64bit.

jlong commented 8 years ago

How are you starting serve on that folder?

Webtransformer commented 8 years ago

Just with "serve" without any commands. There were no problems until the folder rename. For now I created a new serve project and copied all files from the old project.

jlong commented 8 years ago

Is there anything different about where the new folder is located? Like on a different hard drive or partition?

When you run the serve command I assume you are in the folder?

cd path\to\folder
serve

Do you get different results if you pass the folder to serve?

serve path\to\folder