Am hoping someone could shed some light on this and help me better understand.
Am following through this guide https://docs.directus.io/blog/getting-started-directus-astro.html
I have a locally hosted Directus instance with sqlite.
Editing content here: http://0.0.0.0:8055/admin/content/pages
And with VS Code working through the guide http://localhost:4321/about
I add some content in Directus, but it's not refreshing in my browser.
Typically I'm working in SSG. This is my first time tinkering with SSR. I hope I did it right?
I ran pnpm intsall @astrojs/node
// astro.config.mjs
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), icon()],
output: "server",
// output: "hybrid",
adapter: node({
mode: "standalone"
})
});
Switched between hybrid and server, but it's still not "hot reloading", as I am used to.
Same with TailwindCSS styling.