Skip to content

fs.watchFile doesn't work on Windows #38

@jlogar

Description

@jlogar

Starting vogue (the path is correct) resultst in the following error.

Watching file: D:\projekti\poc\node\public\stylesheets\skeleton.css

fs.js:734
    throw new Error('use fs.watch api instead');
          ^
Error: use fs.watch api instead
    at Object.watchFile (fs.js:734:11)
    at Watcher.startWatching (C:\Users\jernej\AppData\Roaming\npm\node_modules\vogue\Watcher.js:57:8)
    at VogueClient.<anonymous> (C:\Users\jernej\AppData\Roaming\npm\node_modules\vogue\VogueClient.js:32:18)

It's a known issue with node on windows as mentioned in issue #31 and jashkenas/coffeescript#1803. Fixed in my fork - jlogar/vogue@9494f5e.

You probably will not be doing a pull because of backwards compatibility?

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