Skip to content

feat: node.js app doesn't reload when files change #283

@EvHaus

Description

@EvHaus

Question

I'm using Bolt JS with Slack CLI (slack run command). If I modify the manifest.json file in the root of my project, I see:

File change detected: /slack-bolt-app/manifest.json, reinstalling app...
App successfully reinstalled

However, if I modify any other application file, my app isn't reloaded. This is frustrating because I have to shutdown and restart the Slack app on every line change I want to test.

Looking at the code, I see that (maybe) the Slack CLI provides some mechanisms already to specify the Regex file paths which should be monitored for changes (code)? But I'm not sure how to use them slack run --watch says "unknown flag: --watch".

Any advice on how I could debug this further would be great.

Version

Using slack v3.9.2

OS Info

ProductName: macOS
ProductVersion: 26.1
BuildVersion: 25B78
Darwin Kernel Version 25.1.0: Mon Oct 20 19:33:00 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6020

Steps to reproduce:

  1. Run the getting started Bolt JS app: https://github.com/slackapi/bolt-js/tree/main/examples/getting-started-typescript
  2. Modify a file in src/
  3. BUG: Slack app is not reinstalled

Expected result:

Any file changes in my project should trigger an Slack app reinstall when using slack run

Actual result:

Nothing happens

Requirements

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementM-T: A feature request for new functionalitysemver:minorUse on pull requests to describe the release version increment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions