File tree Expand file tree Collapse file tree
tooling/create-tauri-app/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " create-tauri-app " : patch
3+ ---
4+
5+ Fixes the ` beforeDevCommand ` on vite recipe.
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ const runInit = async (argv: Argv): Promise<void> => {
339339 packageManager
340340 } )
341341
342- logStep ( ' Adding ` tauri` script to package.json' )
342+ logStep ( ` Adding ${ reset ( yellow ( '" tauri"' ) ) } script to package.json` )
343343 addTauriScript ( appDirectory )
344344
345345 logStep ( `Running: ${ reset ( yellow ( 'tauri init' ) ) } ` )
@@ -352,7 +352,7 @@ const runInit = async (argv: Argv): Promise<void> => {
352352 cwd : appDirectory
353353 } )
354354
355- logStep ( ' Updating ` tauri.conf.json`' )
355+ logStep ( ` Updating ${ reset ( yellow ( '" tauri.conf.json"' ) ) } ` )
356356 updateTauriConf ( appDirectory , cfg )
357357 }
358358
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const vite: Recipe = {
3434 ...cfg ,
3535 distDir : `../dist` ,
3636 devPath : 'http://localhost:3000' ,
37- beforeDevCommand : `${ packageManager === 'yarn' ? 'yarn' : 'npm run' } start ` ,
37+ beforeDevCommand : `${ packageManager === 'yarn' ? 'yarn' : 'npm run' } dev ` ,
3838 beforeBuildCommand : `${
3939 packageManager === 'yarn' ? 'yarn' : 'npm run'
4040 } build`
You can’t perform that action at this time.
0 commit comments