MCPcopy
hub / github.com/rdev/liquid-glass-react / watch

Function watch

esbuild.config.js:45–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43};
44
45const watch = async () => {
46 try {
47 console.log('👀 Starting watch mode for ESM bundle...');
48 const ctx = await esbuild.context(createBuildConfig('esm'));
49 await ctx.watch();
50 console.log('✅ Watch mode active - listening for changes...');
51 } catch (error) {
52 console.error('❌ Watch mode failed:', error);
53 process.exit(1);
54 }
55};
56
57// Check command line arguments
58const args = process.argv.slice(2);

Callers 1

esbuild.config.jsFile · 0.85

Calls 1

createBuildConfigFunction · 0.85

Tested by

no test coverage detected