Skip to content

Commit

Permalink
watch all files not just ts
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Dec 3, 2021
1 parent be786b7 commit a18bce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const buildParams = {
const builder = await build(buildParams)

if (isDev) {
watch('src/**/*.{ts,tsx}', { ignoreInitial: true }).on('all', () => {
watch('src/**/*', { ignoreInitial: true }).on('all', () => {
builder.rebuild()
})

Expand Down

0 comments on commit a18bce8

Please sign in to comment.