diff --git a/website/app/live-server/live-server.css b/website/app/live-server/live-server.css
index e42c66b..a17ec53 100644
--- a/website/app/live-server/live-server.css
+++ b/website/app/live-server/live-server.css
@@ -74,3 +74,11 @@
/* The real install count (or "New") in front of an extension's id. */
.live-micro .installs-badge{display:inline-flex;align-items:center;gap:5px;margin-right:10px;padding:3px 9px;border-radius:999px;color:var(--mint,#68f4d1);background:#68f4d114;border:1px solid #68f4d133;font-weight:700;letter-spacing:.3px}
.live-micro .installs-badge.new{color:#b79bff;background:#9673ff14;border-color:#9673ff33}
+
+/* 1.4: the "New" pill in the hero and the What's new list */
+.live-new{display:flex;width:fit-content;align-items:center;gap:10px;margin:22px auto 0;padding:5px 14px 5px 5px;border:1px solid color-mix(in srgb,var(--mint) 40%,transparent);border-radius:999px;background:color-mix(in srgb,var(--mint) 10%,transparent);color:inherit;font-size:13px;text-decoration:none;max-width:100%;transition:border-color .2s,transform .2s}
+.live-new:hover{border-color:var(--mint);transform:translateY(-1px)}
+.live-new b{padding:2px 9px;border-radius:999px;background:var(--mint);color:#04140f;font:600 10px var(--font-mono);letter-spacing:.04em;text-transform:uppercase}
+.live-new-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
+.live-new-list li{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--mint);border-radius:12px}
+.live-new-list span{color:var(--muted);line-height:1.55}
diff --git a/website/app/live-server/page.tsx b/website/app/live-server/page.tsx
index f0ccbdd..adaac43 100644
--- a/website/app/live-server/page.tsx
+++ b/website/app/live-server/page.tsx
@@ -6,12 +6,22 @@ import {Nav} from '@/components/Nav';
import {Footer} from '@/components/Footer';
import {Breadcrumbs} from '@/components/Breadcrumbs';
import {ClosingCTA} from '@/components/ContentPage';
-import {latestRelease,RELEASES_URL} from '@/lib/releases';
import {absolute,jsonLd} from '@/lib/site';
import {Installs} from '@/components/Installs';
/** The VS Code edition on the Visual Studio Marketplace. */
const MARKETPLACE='https://marketplace.visualstudio.com/items?itemName=flightcoders.veyra-live-server';
+/** The current VS Code edition, hosted on this site (public/downloads/vscode). */
+const VERSION='1.4.0';
+const VSIX_URL=`/downloads/vscode/veyra-live-server-${VERSION}.vsix`;
+const WHATS_NEW:[string,string][]=[
+ ['Test on your phone','Share on Your Network serves the page to phones and tablets on the same Wi-Fi, and shows the address to open. Off until you turn it on.'],
+ ['Browser console in VS Code','console.log, warnings, errors and unhandled promise rejections appear in the Browser Console output, with an error count in the status bar.'],
+ ['Keeps your place','After a live reload the page comes back at the same scroll position.'],
+ ['API proxy','Forward /api (or any path) to your backend, any method, with request bodies streamed. No CORS setup.'],
+ ['Single-page apps','Routes like /about get your index.html, for React Router, Vue Router and friends.'],
+ ['Smarter reloads','Only changes inside the served folder reload the page, and veyraLiveServer.ignore skips more, like **/*.log.'],
+];
import './live-server.css';
export const metadata:Metadata={
@@ -48,19 +58,16 @@ const FAQ=[
{q:'Is Veyra Live Server free?',a:'Yes. It\'s built into Veyra Studio, which is free and open source, and the VS Code edition is free and MIT licensed.'},
{q:'How is it different from the classic Live Server extension?',a:'It works the same way, with the same port and shortcuts, so it feels familiar. It also applies CSS changes without reloading the page, only accepts connections from your own computer, never serves files outside your folder, and has no runtime dependencies.'},
{q:'Do I need Node.js?',a:'Not in Veyra: the server is part of the app. In VS Code, the extension runs inside VS Code itself, so there\'s nothing else to install either.'},
- {q:'Can I open my site on my phone?',a:'Not yet. Veyra Live Server listens on your own computer only (127.0.0.1) to keep your work private. Sharing on your local network is on the roadmap as an opt-in setting.'},
+ {q:'Can I open my site on my phone?',a:'Yes, in VS Code since 1.4. Click the port in the status bar, choose Share on Your Network, and open the address it shows on your phone (same Wi-Fi). It\'s off by default, so your work stays on your computer until you turn it on.'},
+ {q:'Can I see my page\'s console errors without opening DevTools?',a:'Yes, in VS Code since 1.4. Messages and errors from the page appear in the Veyra Live Server: Browser Console output, and the status bar shows how many errors there were. Turn it off with veyraLiveServer.browserConsole.'},
];
export default async function LiveServerPage(){
- const release=await latestRelease();
- const vsix=release?.assets.find(asset=>/^veyra-live-server-.*\.vsix$/i.test(asset.name));
- const vsixVersion=vsix?.name.match(/-(\d+\.\d+\.\d+)\.vsix$/i)?.[1];
- const vsixUrl=vsix?.browser_download_url||RELEASES_URL;
const app={
'@context':'https://schema.org','@type':'SoftwareApplication',name:'Veyra Live Server',applicationCategory:'DeveloperApplication',
operatingSystem:'Windows, macOS, Linux',url:absolute('/live-server'),image:absolute('/live-server-icon.png'),
description:'A local development server with live reload for HTML, CSS and JavaScript, built into Veyra Studio and available for VS Code.',
- offers:{'@type':'Offer',price:'0',priceCurrency:'USD'},...(vsixVersion?{softwareVersion:vsixVersion}:{}),
+ offers:{'@type':'Offer',price:'0',priceCurrency:'USD'},softwareVersion:VERSION,
publisher:{'@type':'Organization',name:'Veyra Studio',url:absolute('/')},
};
const faq={'@context':'https://schema.org','@type':'FAQPage',mainEntity:FAQ.map(item=>({'@type':'Question',name:item.q,acceptedAnswer:{'@type':'Answer',text:item.a}}))};
@@ -72,6 +79,7 @@ export default async function LiveServerPage(){
Save. See it. Instantly. The VS Code edition. Update from the Extensions view, or download the .vsix. Or from a terminal: Or from a terminal: Veyra Live Server
What's new in Live Server {VERSION}
{WHATS_NEW.map(([title,copy])=>
+ Three steps. Zero setup.
@@ -127,14 +140,16 @@ export default async function LiveServerPage(){
- code --install-extension flightcoders.veyra-live-server. Working offline? Download the .vsix and choose Install from VSIX….code --install-extension flightcoders.veyra-live-server. Working offline? Download the .vsix ({VERSION}), then in Extensions click … → Install from VSIX….
"veyraLiveServer.port": 5500,
"veyraLiveServer.root": "/public",
- "veyraLiveServer.openBrowser": true
+ "veyraLiveServer.openBrowser": true,
+ "veyraLiveServer.spa": true,
+ "veyraLiveServer.proxy": {'{'} "/api": "http://localhost:3000" {'}'}
{'}'}
../, encoded slashes and symbolic links that point outside are refused.