question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Esbuild watch with sls offline not working

See original GitHub issue

Hello. I’ve added a watch pattern in esbuild config

watch:
      pattern: [ 'src/**/*.ts']

it’s recompiling code after changes, but those changes are not working like if i add console.log('hello') it will recompile but i won’t see that console.log() anywhere same for other changes

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
abhijeet-toptalcommented, Oct 2, 2022

try --reloadHandler with serverless offline

1reaction
joelpickupcommented, Apr 7, 2021

Are you certain it’s not this long standing issue with serverless-offline (https://github.com/dherault/serverless-offline/issues/864) ?

Enabling --useChildProcesses fixes this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Esbuild - Serverless Framework: Plugins
serverless-esbuild. Serverless plugin for zero-config JavaScript and TypeScript code bundling using promising fast & furious esbuild bundler and minifier.
Read more >
serverless-esbuild - Victor Korzunin - GitHub Pages
A Serverless framework plugin to bundle JavaScript and TypeScript with extremely fast esbuild.
Read more >
serverless-esbuild - npm
Serverless plugin for zero-config JavaScript and TypeScript code bundling using extremely fast esbuild. Latest version: 1.34.0, ...
Read more >
A Serverless Framework Plugin to Bundle JavaScript ... - Morioh
serverless-esbuild. Serverless plugin for zero-config JavaScript and TypeScript code bundling using promising fast & furious esbuild bundler and minifier ...
Read more >
serverless AWS deployment fails because of esbuild
If you are installing with npm, you can try ensuring that both npm and node are not running under Rosetta 2 and then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found