Skip to content

Cannot run new source files after updating tsconfig.json #8

Open
@JadenSimon

Description

@JadenSimon

Problem

New files added via tsconfig.json aren't detected unless compile is used.

Example:

  1. synapse init
  2. echo '{ "include": ["hello.ts"] }' > tsconfig.json
  3. synapse compile
  4. echo '{ "include": [*] }' > tsconfig.json
  5. echo 'export async function main() {}' > x.ts
  6. synapse run x.ts

Results in "No executable found matching: x.ts [available: hello.ts]"

System Info

  • version: 0.0.17
  • revision: 257538905345755ef3f8a1938906d4e096df2ba2
  • host: darwin-arm64-LE
  • os-version: 23.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions