mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-12-06 01:12:34 -05:00
add start message to dev.js
This commit is contained in:
10
dev.js
10
dev.js
@@ -8,7 +8,15 @@ let isCleaningUp = false;
|
||||
async function startDev() {
|
||||
// Start localtunnel and get URL
|
||||
tunnel = await localtunnel({ port: 3000 });
|
||||
console.log(`\n🌐 Local tunnel URL: ${tunnel.url}`);
|
||||
console.log(`
|
||||
🌐 Local tunnel URL: ${tunnel.url}
|
||||
|
||||
📱 To test in Warpcast mobile app:
|
||||
1. Open Warpcast on your phone
|
||||
2. Go to Settings > Developer > Frames
|
||||
4. Enter this URL: ${tunnel.url}
|
||||
5. Click "Launch"
|
||||
`);
|
||||
|
||||
// Start next dev with the tunnel URL as relevant environment variables
|
||||
nextDev = spawn('next', ['dev'], {
|
||||
|
||||
Reference in New Issue
Block a user