#13090·serverless

Serverless Offline reloadHandler stopped working on 4.6.2

Author: patrickbdalyCreated Jun 7, 2025Updated Sep 11, 2026
Labelsbugcat/packagingcat/plugin

Issue description

Issue: Hot Reloading Broken in serverless-offline 4.6.2+

Description

Starting with version 4.6.2, serverless-offline's reloadHandler functionality stopped working properly, breaking hot reloading capabilities.

Expected Behavior

  • Changes to Lambda function code should trigger automatic reloading
  • Server should reflect code changes without manual restart

Current Behavior

  • Code changes are not automatically detected
  • Manual server restart required to see changes

Steps to Reproduce

  1. Install serverless-offline version 4.6.2 or later
  2. Configure a Lambda function with hot reloading
  3. Make changes to the function code
  4. Observe that changes are not automatically reflected

Environment

  • serverless-offline version: 14.4.0
  • Node.js version: v22.14.0
  • Serverless Framework version: 4.6.2+
  • Operating System: macOS Sequoia 15.5 (24F74)

Context

Serverless ϟ Support This generates a report from your last Serverless Framework command (including any errors) to use for Github Issues, debugging w/ AI, or creating a support ticket w/ Serverless Inc. Summary Report -----------------

Service Overview

  • Serverless Framework Version: 4.4.10
  • Command: --version true

Service Overview

  • Serverless Framework Version: 4.4.11
  • Service Config File: serverless-compose.yml
  • Error Code: AWS_CREDENTIALS_MISSING

Service Path

<>

Command

deploy function --verbose true,--stage dev,--function <>

Error Message

AWS credentials missing or invalid. Original error from AWS: Token is expired. To refresh this SSO session run 'aws sso login' with the corresponding profile.

Service Config

<>

Above is a summary report of your last Serverless Framework command. Use it to debug with AI (e.g. ChatGPT) or report a new Github Issue: https://slss.io/issue