index.js does not get updated
davinerd opened this issue · 1 comments
davinerd commented
I think this is related to git and how nodejs deals with readFileSync() (but I may be wrong, I know a little about nodejs).
What I've done: I've cloned the repo, created a new branch, edited the code. When I re-deployed it (by typing chaos-lambda deploy -c Chaosfile.json
) the relative code in the AWS Console didn't show the changes. Same goes while working in 'master' branch.
I had to remove the .git folder, made the changes and then deploy it.
davinerd commented
Forget about it - it's just me that didn't understand how nodejs' modules work.