CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

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

Open Veraxus opened this issue 9 years ago • 3 comments

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.

Veraxus avatar Jul 29 '15 23:07 Veraxus

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

bdkjones avatar Jul 30 '15 00:07 bdkjones

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 :-)

Veraxus avatar Jul 30 '15 01:07 Veraxus

+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

geordiemhall avatar Mar 31 '16 02:03 geordiemhall