I want to expose my svelte app on LAN using the npm run dev --host
command but it shows:
> [email protected] dev
> svelte-kit dev
SvelteKit v1.0.0-next.295
local: http://localhost:3000
network: not exposed
Use --host to expose server to other devices on this network
You have to add
--
before the actual flag:And it should output: