babichjacob / sapper-typescript-graphql-template

A template that includes Sapper for Svelte, TypeScript preprocessing, and a GraphQL server through TypeGraphQL
MIT License
84 stars 14 forks source link

Dev server crashes on syntax errors #15

Closed benmccann closed 4 years ago

benmccann commented 4 years ago

See https://github.com/sveltejs/sapper/issues/1375 and https://github.com/sveltejs/template/pull/161 for more details. I think it'd be worth switching to rollup-plugin-typescript2, which works much better in my limited experience

benmccann commented 4 years ago

It seems another solution might be setting noEmitOnError: false in the rollup config https://github.com/rollup/plugins/issues/272