serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
784 stars 225 forks source link

Offline compilation is not visible till server restart #203

Open croogie opened 4 years ago

croogie commented 4 years ago

Hi there,

I've just made a very simple example of a typescript serverless function. It's working well but… every time I change source code I need to restart the offline version to see changes during function execution.

Let's say I change one line. Then I can see in the console:

Serverless: Compiling with Typescript...
Serverless: Typescript compiled.

But execution of the function (ran with serverless offline start before edit) is giving the same results. All sources you can review here and I'm changing selected line's + 100

Am I doing something wrong?

lucasklaassen commented 4 years ago

I've ran into the same issue, I've been following this thread as I though it may be related: https://github.com/dherault/serverless-offline/issues/864