Back

Local Functions in Typescript

  • 0
  • React Native
  • Functions
sheanie
14 Sep, 2024, 09:31

Hi, just doing some local function development with Typescript. Works well, but when I change any files, the hot-reload functionality just swaps out the source file and doesn't rebuild the function so the changes aren't reflected when I call the function again locally.

Would be useful to enable some sort of feature which forces a full rebuild of the function when a change is detected.

Currently I'm having to kill the runtime and restart it after every change.

TL;DR
Developers are facing issues with hot-reloading in TypeScript when making changes to local functions. They want a feature that triggers a full rebuild of the function upon file changes instead of just swapping out the source file. Currently, they are restarting the runtime after each modification to see the updates reflected.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more