Skip navigation
To make your TypeScript server auto-restart for things like codegen'd files, add this to your…
0:00 / 0:29

To make your TypeScript server auto-restart for things like codegen'd files, add this to your…

Fernando Rojo

@fernandorojo20K followers

Visit on X
701 likesDownloadOriginal post

100,062 views

To make your TypeScript server auto-restart for things like codegen'd files, add this to your .𝚟𝚜𝚌𝚘𝚍𝚎/πšœπšŽπšπšπš’πš—πšπšœ.πš“πšœπš˜πš— and thank me later: "πšπš’πš™πšŽπšœπšŒπš›πš’πš™πš.πšπšœπšœπšŽπš›πšŸπšŽπš›.πš πšŠπšπšŒπš‘π™Ύπš™πšπš’πš˜πš—πšœ": { "πš πšŠπšπšŒπš‘π™³πš’πš›πšŽπšŒπšπš˜πš›πš’": "πšžπšœπšŽπ™΅πšœπ™΄πšŸπšŽπš—πšπšœ", "πšπšŠπš•πš•πš‹πšŠπšŒπš”π™Ώπš˜πš•πš•πš’πš—πš": "πšπš’πš—πšŠπš–πš’πšŒπ™Ώπš›πš’πš˜πš›πš’πšπš’π™Ώπš˜πš•πš•πš’πš—πš", "πš πšŠπšπšŒπš‘π™΅πš’πš•πšŽ": "πšžπšœπšŽπ™΅πšœπ™΄πšŸπšŽπš—πšπšœπ™Ύπš—π™ΏπšŠπš›πšŽπš—πšπ™³πš’πš›πšŽπšŒπšπš˜πš›πš’", "πšœπš’πš—πšŒπš‘πš›πš˜πš—πš˜πšžπšœπš†πšŠπšπšŒπš‘π™³πš’πš›πšŽπšŒπšπš˜πš›πš’": πšπš›πšžπšŽ },

8 Comments

Comments from the original post on X (Twitter)

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    I originally posted this here:

    9 likes

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    It might be better to configure this directly in your tsconfig.json. But the above settings have worked perfectly for me. TypeScript docs:

    6 likes

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    You should also add this by the way, and exclude as many files as possible that don't need to get watched: "πšŽπš‘πšŒπš•πšžπšπšŽπ™³πš’πš›πšŽπšŒπšπš˜πš›πš’πšŽπšœ": ["**/πš—πš˜πšπšŽ_πš–πš˜πšπšžπš•πšŽπšœ/**/*"]

    12 likes

  • caleb (4/100 videos)'s profile picture

    @spookyusr

    Restarting ts server is like 80% of my job description, no thanks

    5 likes

  • SaΕ‘a Ε ijak's profile picture

    @ssijak

    Do you really use that font in the ide?

  • Ivan Shmidt's profile picture

    @shmidt_dev

    Just use gql ta-da for codegen -

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    I wish…we’re in too deep on graphql-codegen and tada came out too late

  • lmnek's profile picture

    @lmnek_

    This is a font I would use for birthday card to grandma πŸ’€