Hello, when i organize my code, let's say an impor...
# help
y
Hello, when i organize my code, let's say an import, and then i destructure the object like ...routes in a getaway, the sst cli does not detect the changes, thus preventing me to organize my code in different files. Did i miss somehting ? CLI says 'no change', even if i changed the content of routes.ts
f
Hey @Yohann B, hmm that’s weird. Can you show a code snippet?
y
Copy code
return new ApiGatewayV1Api(context, 'new-Api', {
 ...routes
});
routes was result of import of file like import {routes} from '..' and file was like const export const routes = {..} @Frank Actually i now use addRoutes method of ApiGatewayV1Api and i don't have this problem, i will write again if i pinpoint the exact problem, thank for the answer