:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(frontend): keep esbuild dev watchers out of node_modules symlinks (#89101)
Alessandro Pogliaghibe2a36ab1988
diff --git a/common/esbuilder/utils.mjs b/common/esbuilder/utils.mjsindex e2478a7ad0e9..5a45ad289ef2 100644--- a/common/esbuilder/utils.mjs+++ b/common/esbuilder/utils.mjs@@ -617,8 +617,9 @@ export async function buildOrWatch(config) {path.resolve(absWorkingDir, '../products/*/frontend/**/*'),],{- ignored: /.*(Type|\.test\.stories)\.[tj]sx?$/,+ ignored: [/.*(Type|\.test\.stories)\.[tj]sx?$/, /(^|[\/\\])node_modules([\/\\]|$)/],ignoreInitial: true,+ followSymlinks: false,}).on('all', async (event, filePath) => {