Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: strapi dev continue watching on error#25514

Open
Bellian wants to merge 1 commit intostrapi:developfrom
Bellian:feature/strapi-watch-after-error
Open

feat: strapi dev continue watching on error#25514
Bellian wants to merge 1 commit intostrapi:developfrom
Bellian:feature/strapi-watch-after-error

Conversation

@Bellian
Copy link
Contributor

@Bellian Bellian commented Feb 20, 2026

What does it do?

  • Basic compiler throws error instead of exiting the process.
  • Errors are caught in develop setup and filewatcher is still stated on error.
  • Other tsUtils.compile calls using ignoreDiagnostics: false still exit on error. (same behavior as before)

Why is it needed?

Strapi closes down on TS errors and needs to be restarted. This lesds to problems with monorepo setups and hinders rapid development.

How to test it?

Run kitchensink-ts and change config/admin.ts auth secret to a number.

  auth: {
    secret: 123456,
  },

Related issue(s)/PR(s)

@vercel
Copy link

vercel bot commented Feb 20, 2026

@Bellian is attempting to deploy a commit to the Strapi Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the community Changes and fixes created by community members label Feb 20, 2026
@Bellian Bellian force-pushed the feature/strapi-watch-after-error branch from 3fa8621 to 8146ba8 Compare February 20, 2026 18:57
@Bellian Bellian marked this pull request as ready for review February 25, 2026 00:11
@dosubot dosubot bot added pr: feature This PR adds a new feature source: typescript Source is related to TypeScript (typings, tooling, ...) labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Changes and fixes created by community members pr: feature This PR adds a new feature source: typescript Source is related to TypeScript (typings, tooling, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant