
Instead of using the system-wide Keychain, Mozilla insists on having their own. It Doesn't Work In Firefox!įirefox is a bad citizen of macOS.
COULD NOT CONNECT TO LIVERELOAD SERVER MAC
You must tell your Mac to trust that certificate, which is why you're prompted for your password. Why Am I Asked For My Password?ĬodeKit automatically generates the certificate required to run a secure server. NOTE: When TLS is enabled, if you forget to type instead of the page will hang and fail to load. CodeKit's server will restart and you'll see addresses. To enable it, simply click the checkbox in the Server Popover.

In those cases, use the Non-Bonjour address.ĬodeKit supports TLS (formerly called SSL) on the Preview Server. WARNING: On some networks, the Bonjour address may not behave correctly. Use this if your Mac is not connected to any network. The final address is always just localhost:5757. It will always be: Mac's local IP address]:5757 This Mac Only
COULD NOT CONNECT TO LIVERELOAD SERVER ANDROID
The non-Bonjour address is for devices like Android or Windows, which don't support Bonjour networking. If your computer's name is long, you can shorten it in the Sharing Pane of macOS's System Preferences. This will always have the form computer name]:5757. The popover that appears shows three addresses. When you save a page or script, however, the whole site reloads to capture those changes.Ĭlick the Server Button at the top of CodeKit's window. When you save a stylesheet, CodeKit refreshes the browser by injecting changes without reloading the entire page. When you use an external server, CodeKit becomes a reverse-proxy it talks to your external server to load content. That's the only one CodeKit will auto-refresh. If you're using MAMP and have not changed any defaults, it's usually or it might be a custom virtual host you configured, like Which Address Do I Load In My Browser?ĪLWAYS go to CodeKit's internal server address (the one that opens when you click the "Preview" button). The address of the server you set up in step one. What Address Do I Enter In The Textfield? Enter the address of your external server.Flip the External Server Required switch ON.Open Project Settings and choose the Browser Refreshing category.Configure an external server (like MAMP) to host your project.If your site uses server-side processing (like PHP) or you're doing something advanced: Copy the address to your other devices and be sure each is connected to the same WiFi network as your Mac.

Just Click PreviewĬlick the Preview Button in the top right corner of the window. The app automatically refreshes every browser that's connected to this server. To the Spring application.properties of one of my applications, and the issue was fixed.CodeKit has a built-in server that always hosts the active project.

This confirms my conclusion and also provides a solution for my problem. Thus, my search continued and I finally found this: However, no matter what I tried, my environment variable was simply ignored. The option where I would need to set an environment variable LRPortOverride containing the new port number seemed feasible to me.

So I started looking for a way to change the LiveReload server port for one of my two applications. The LiveReload server is then also started twice, while the port it wants to use (35729) can obviously be bound to only once. In my case I'm running 2 Spring Boot applications simultaneously, which is exactly the reason for this warning. Like you said, it's not preventing your app from working properly, it's just that I'd like to avoid warnings wherever possible (especially the ones I can not explain!). Simply add the following to your application.yml (or properties equivalent). Of course disabling the live-reload completely will work, but there's also a property you can set to choose a different port. In my case I have two Spring Boot services running simultaneously too.
