colin
08/20/2021, 2:50 PMThere was a problem reading the build metafile [Error: ENOENT: no such file or directory, open '/Users/dev/engine/.build/.esbuild.--src-graphql-server-handler.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/dev/engine/.build/.esbuild.--src-graphql-server-handler.json'
}
happens somewhat randomly and I have to restart. Might be something with a jest watcher also running npm test --watch
thdxr
08/20/2021, 2:51 PMcolin
08/20/2021, 2:57 PMFrank
npm test
run sst test
behind the scene?colin
08/20/2021, 8:14 PMsst test "--watch"
Frank
sst test
would wipes out the .build
folder and then creates it.Frank
sst start
depends on the content in .build
, think that’s causing the issue.Frank
npm test --watch
first, and then run sst start
?colin
08/21/2021, 12:03 AMFrank