Skip to content

Commit

Permalink
Routes not found on first run
Browse files Browse the repository at this point in the history
Signed-off-by: macdonst <[email protected]>
  • Loading branch information
macdonst committed May 14, 2024
1 parent e8bbc6c commit ff0548f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const SRC_DIR = 'ts'
const DEST_DIR = 'app'

function copyAllFiles () {
const files = globSync('ts/**/*', { 'ignore': [ 'ts/**/*.mts', 'ts/**/*.ts', 'ts/**/*.tsx' ] })
const files = [ 'ts', ...globSync('ts/**/*', { 'ignore': [ 'ts/**/*.mts', 'ts/**/*.ts', 'ts/**/*.tsx' ] }) ]
files.forEach((srcPath) => {
copyOneFile(srcPath)
})
Expand Down

0 comments on commit ff0548f

Please sign in to comment.