@@ -15,7 +15,8 @@ import { log } from '../../log.js';
1515import  {  buildForPreview ,  writePreviewDataFiles  }  from  '../helpers.js' ; 
1616import  {  reloadPlugin  }  from  '../vite-reload.js' ; 
1717import  {  staticPlugin  }  from  '../vite-static.js' ; 
18- import  {  watch  }  from  '../watcher.js' ; 
18+ 
19+ // import { watch } from '../watcher.js'; 
1920
2021import  {  getTempPath  }  from  './build.js' ; 
2122import  { 
@@ -86,8 +87,8 @@ const buildDeployable = async ({ argv, targetPath }: PreviewCommonParams) => {
8687const  getConfig  =  async  ( {  argv,  targetPath } : PreviewCommonParams )  =>  { 
8788  const  buildPath  =  await  getTempPath ( 'preview' ) ; 
8889  const  root  =  JSX_DEV_LOCAL 
89-     ? fileURLToPath ( import . meta. resolve ( '../../../../../../ apps/preview/app' ) ) 
90-     : fileURLToPath ( import . meta. resolve ( '../../../ preview' ) ) ; 
90+     ? fileURLToPath ( import . meta. resolve ( '../../../../../apps/preview/app' ) ) 
91+     : fileURLToPath ( import . meta. resolve ( '../../preview' ) ) ; 
9192  const  {  basePath =  '/' ,  host =  false ,  port =  55420  }  =  argv ; 
9293
9394  if  ( JSX_DEV_LOCAL ) 
@@ -180,8 +181,9 @@ export const command: CommandFn = async (argv: PreviewCommandOptions, input) =>
180181
181182  globalThis . isJsxEmailPreview  =  true ; 
182183
183-   const  {  files,  server }  =  await  start ( common ) ; 
184-   await  watch ( {  common,  files,  server } ) ; 
184+   // const { files, server } = await start(common); 
185+   await  start ( common ) ; 
186+   // await watch({ common, files, server }); 
185187
186188  return  true ; 
187189} ; 
0 commit comments