thoreinstein / serverless-offline-ssm

Read SSM parameters from a .env file instead of AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Watch changes in .env

dimadk24 opened this issue · comments

Is it possible to get new content from .env file on-the-fly, without reloading serverless-offline server?

It would be a nice feature :)

Sometimes developers can forget that update to .env requires reloading serverless-offline and they will need to debug, why something that is dependent on .env data doesn't work

Unfortunately the way that the serverless framework loads the variables, it requires a full restart of the server.

Oh, okay, thanks for clarification