You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I upgraded to 8.3.5 or 8.3.6 the --watch doesn't detect changes anymore. I didn't change any configuration.
Rolling back to 8.3.0 solves the issue.
My config is Windows 11 using npm
My tsup.config
import { sassPlugin } from 'esbuild-sass-plugin'
export default defineConfig(
({ watch }): Options => ({
// Files-relared options
entry: [
'scripts/index.jsx',
'style/colors.scss',
'style/all.scss',
'style/export.scss',
'style/style.scss',
],
outDir: '../public/dist',
clean: true,
// Build options
splitting: false,
sourcemap: true,
platform: 'browser',
// This is required to avoid really weird errors (but I don't know why)
format: ['esm'],
// Mark all NPM dependencies as internal
noExternal: [/.*/],
// Reduce bundle size when building for production (as too slow for dev mode)
minify: !watch,
treeshake: !watch,
target: 'es2019',
// Additional language support
esbuildPlugins: [
sassPlugin(),
],
}),
)
The text was updated successfully, but these errors were encountered:
Hi there,
Since I upgraded to 8.3.5 or 8.3.6 the
--watch
doesn't detect changes anymore. I didn't change any configuration.Rolling back to 8.3.0 solves the issue.
My config is Windows 11 using npm
My tsup.config
The text was updated successfully, but these errors were encountered: