这是indexloc提供的服务,不要输入任何密码
Skip to content

--watch mode does not working #465

@qianphong

Description

@qianphong

Hi @egoist ,look here

file is not normalize.

20211124171202

tsup/src/index.ts

Lines 244 to 249 in f6826b2

watcher.on('all', async (type, file) => {
if (!buildDependencies.has(file)) return
logger.info('CLI', `Change detected: ${type} ${file}`)
debouncedBuildAll()
})

chokidar#L153-L159

Note: globs must not contain windows separators (\), because that's how they work by the standard — you'll need to replace them with forward slashes (/).

System info

System:
    OS: Windows 10 
Binaries:
    Node: 16.13.0
    npm: 8.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions