bdkjones / CodeKit2

CodeKit 2 Beta
97 stars 4 forks source link

404 on static (non-server) files until external server option toggled #575

Open Veraxus opened 9 years ago

Veraxus commented 9 years ago

Weird low-priority bug: On a new install of CodeKit, if I preview any static project (no external server), I get a 404 until I toggle the "External Server" option on and then off again. This clears up the 404 problem indefinitely for all static file projects.

bdkjones commented 9 years ago

Sounds like you've got that switch flipped on in New Project Defaults.

Veraxus commented 9 years ago

That's the weird thing - it was already switched off at the project level by default. When I switched it on, the page changed to Server Error (as expected - there was no external server), and when I switched it right back off, the 404 was gone and the index.html was loading fine. Haven't experienced this since.

I can try to confirm this by creating a second user account on my Mac and running CodeKit from there (since this seems to be a first-run type of scenario). Just need to finish todays task list first :-)

geordiemhall commented 8 years ago

+1

Just ran into this on latest build (2.7.1 19115) –

Created a brand new Foundation 6 project, and the server light was on. Clicked "Preview" and it opened Chrome to a CodeKit 404 page. Googled and found this Github issue. Opened project settings, and "External Server" was in the off position. Toggled that to be on, then off again, and the page refreshed in the background with the proper Foundation index.html