Загрузка видео...

Не удалось загрузить видео

На главную

To make your TypeScript server auto-restart for things like codegen'd files, add this to your .𝚟𝚜𝚌𝚘𝚍𝚎/𝚜𝚎𝚝𝚝𝚒𝚗𝚐𝚜.𝚓𝚜𝚘𝚗 and thank me later: "𝚝𝚢𝚙𝚎𝚜𝚌𝚛𝚒𝚙𝚝.𝚝𝚜𝚜𝚎𝚛𝚟𝚎𝚛.𝚠𝚊𝚝𝚌𝚑𝙾𝚙𝚝𝚒𝚘𝚗𝚜": { "𝚠𝚊𝚝𝚌𝚑𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢": "𝚞𝚜𝚎𝙵𝚜𝙴𝚟𝚎𝚗𝚝𝚜", "𝚏𝚊𝚕𝚕𝚋𝚊𝚌𝚔𝙿𝚘𝚕𝚕𝚒𝚗𝚐": "𝚍𝚢𝚗𝚊𝚖𝚒𝚌𝙿𝚛𝚒𝚘𝚛𝚒𝚝𝚢𝙿𝚘𝚕𝚕𝚒𝚗𝚐", "𝚠𝚊𝚝𝚌𝚑𝙵𝚒𝚕𝚎": "𝚞𝚜𝚎𝙵𝚜𝙴𝚟𝚎𝚗𝚝𝚜𝙾𝚗𝙿𝚊𝚛𝚎𝚗𝚝𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢", "𝚜𝚢𝚗𝚌𝚑𝚛𝚘𝚗𝚘𝚞𝚜𝚆𝚊𝚝𝚌𝚑𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚢": 𝚝𝚛𝚞𝚎 },

99,997 просмотров • 1 год назад •via X (Twitter)

Комментарии: 8

Фото профиля Fernando Rojo
Fernando Rojo1 год назад

I originally posted this here:

Фото профиля Fernando Rojo
Fernando Rojo1 год назад

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

Фото профиля Fernando Rojo
Fernando Rojo1 год назад

You should also add this by the way, and exclude as many files as possible that don't need to get watched: "𝚎𝚡𝚌𝚕𝚞𝚍𝚎𝙳𝚒𝚛𝚎𝚌𝚝𝚘𝚛𝚒𝚎𝚜": ["**/𝚗𝚘𝚍𝚎_𝚖𝚘𝚍𝚞𝚕𝚎𝚜/**/*"]

Фото профиля caleb (4/100 videos)
caleb (4/100 videos)1 год назад

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

Фото профиля Saša Šijak
Saša Šijak1 год назад

Do you really use that font in the ide?

Фото профиля Ivan Shmidt
Ivan Shmidt1 год назад

Just use gql ta-da for codegen -

Фото профиля Fernando Rojo
Fernando Rojo1 год назад

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

Фото профиля lmnek
lmnek1 год назад

This is a font I would use for birthday card to grandma 💀

Похожие видео