in ide/deploy/watch.js [43:58]
export function checkAndDeploy(changeType, path) {
path = resolve(path);
if (shouldIgnoreFile(path)) return;
const curDirLen = process.cwd().length + 1;
const src = path.slice(curDirLen);
if (changeType !== 'change') return;
if (src.endsWith('/')) return;
if (!src) return;
for (const dir of src.split('/').slice(0, -1)) {
if (SKIPDIR.includes(dir)) return;
}
// this should not even happen
if (shouldIgnoreFile(src)) return;
deploy(src);
}