You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,12 +207,14 @@ lizardtail --vite-tailscale-port 8453 composer run dev
207
207
208
208
`lizardtail` also sets `__VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS` for the child command when it can read your Tailscale MagicDNS name. The local proxy handles CORS for module scripts loaded from the Vite Tailscale URL.
209
209
210
-
If your app server lands on a known port and you only want to expose that server, you can force it:
210
+
If your app server lands on a known port, pass it with `--port`. Lizard Tail treats that as the main app port, but still watches briefly for companion services such as Vite and exposes them when detected:
211
211
212
212
```bash
213
213
lizardtail --port 8001 composer run dev
214
214
```
215
215
216
+
If no companion service appears during the short settle window, it falls back to exposing only the explicit port.
217
+
216
218
### Public internet sharing
217
219
218
220
By default, URLs are only reachable from devices in your tailnet. To intentionally publish through Tailscale Funnel:
@@ -287,10 +289,11 @@ lizardtail --timeout 60000 pnpm dev
287
289
288
290
1.`lizardtail` starts the command you provide.
289
291
2. It streams the command output to your terminal.
290
-
3. It scans recent output for a local port.
291
-
4. Once it finds a port, it waits for `127.0.0.1:<port>` or the configured `--host` to accept connections.
292
-
5. It chooses the first free Tailscale HTTPS port from `8443` upward, unless `--tailscale-port` was provided. Ports in the configured blocked-port list are refused or skipped.
293
-
6. It runs Tailscale Serve for private tailnet-only access:
292
+
3. It scans recent output for local ports and known multi-service setups.
293
+
4. With `--port`, it treats that port as the known main app port but still waits briefly for companion-service output before falling back to a single-port exposure.
294
+
5. Once it chooses what to expose, it waits for `127.0.0.1:<port>` or the configured `--host` to accept connections.
295
+
6. It chooses the first free Tailscale HTTPS port from `8443` upward, unless `--tailscale-port` was provided. Ports in the configured blocked-port list are refused or skipped.
296
+
7. It runs Tailscale Serve for private tailnet-only access:
@@ -320,7 +323,9 @@ tailscale serve --https=<port> off
320
323
tailscale funnel --https=<port> off
321
324
```
322
325
323
-
It only tracks ports created by the current `lizardtail` process.
326
+
For Laravel + Vite, it also closes the local Vite proxy and restores `public/hot` to the exact content seen before Lizard Tail rewrote it. If there was no previous `public/hot`, it removes the generated file. If another process changes the file after Lizard Tail writes it, Lizard Tail leaves that newer content in place and warns instead of clobbering it.
327
+
328
+
It only tracks ports and files created or modified by the current `lizardtail` process.
0 commit comments