dherault / dherault/serverless-offline

Is it possible to run a script as soon as the server is listening?

Open
#1,689 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
811
Avg merge
2d 4h
Merged PRs (30d)
3

Description

Hello, I'm trying to implement the [new Remix development server](https://github.com/remix-run/remix/releases/tag/remix%401.16.0), and I need to call the broadcastDevReady function as soon as the server is being executed. Is it possible to do this using serverless-offline plugin? Thank you in advance for your help!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the serverless-offline server startup lifecycle and how it exposes hooks or callbacks after the server begins listening. Check whether broadcastDevReady can be invoked at that point; done would require a supported way to run the script immediately after startup, with the behavior documented or covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.