Skip to content

Wrong handler recompiled when running in sandbox #16

@epfremmer

Description

@epfremmer

When I have 2 http handlers with a common base path the first (shorter) handler is recompiled when there are changes made to the second.

Example:

Say I have the following http handlers:

  • src/http/get-api-v1-users/index.ts
  • src/http/get-api-v1-users-000id/index.ts

When I make a change to get-api-v1-users-000id, get-api-v1-users is recompiled instead. It looks like this line is matching the first handler because they share a common filename prefix.

Hopefully, this is helpful...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions