Skip to content

Latest commit

 

History

History

README.md

Lambda Hot Reloading

Key Value
Services Lambda
Integrations AWS CLI, Terraform
Categories Serverless; Developer Experience

Introduction

A collection of samples demonstrating LocalStack's Lambda hot reloading capability, which enables immediate reflection of code changes without redeployment. Hot reloading significantly accelerates development cycles by watching local file changes and automatically updating Lambda function code.

Sub-samples

Sample Description
javascript Hot reloading with a JavaScript Lambda function
typescript Hot reloading with a TypeScript Lambda function
javascript-terraform Hot reloading deployed via Terraform
javascript-terraform-layers Hot reloading with Lambda layers via Terraform
lambda-typescript-webpack TypeScript Lambda with Webpack bundling

Prerequisites

Check prerequisites

make check

Installation

make install

Start LocalStack

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start

Deploy the Application

make deploy

Run the application

make run

Refer to the individual sub-sample READMEs for more details on each variant.

License

This code is available under the Apache 2.0 license.