serverless-plugin-typescript icon indicating copy to clipboard operation
serverless-plugin-typescript copied to clipboard

Offline compilation is not visible till server restart

Open croogie opened this issue 5 years ago • 1 comments

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?

croogie avatar Mar 20 '20 19:03 croogie

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

lucasklaassen avatar Mar 25 '20 02:03 lucasklaassen