diff --git a/builder.js b/builder.js index 53c86ee..f8db352 100644 --- a/builder.js +++ b/builder.js @@ -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() })