Menu

#2305 Rename a `scss` file crash the watcher

open
nobody
None
2018-03-23
2018-03-23
Anonymous
No

Originally created by: francoismassart

While trying to find out what fails when adding a new scss file (see [#2296]), I did try to rename a file while node-sass is running in watch mode and it crashes:

node_modules/node-sass/bin/node-sass:266
    handler(watcher.deleted(file));
                    ^

TypeError: watcher.deleted is not a function
  • NPM version 2.15.11
  • Node version v4.7.0
  • Node Process:

    { http_parser: '2.7.0',
    node: '4.7.0',
    v8: '4.5.103.43',
    uv: '1.9.1',
    zlib: '1.2.8',
    ares: '1.10.1-DEV',
    icu: '56.1',
    modules: '46',
    openssl: '1.0.2j' }
    - Node Platform: darwin
    - Node architecture: x64
    - node-sass version:

    node-sass 4.7.2 (Wrapper) [JavaScript]
    libsass 3.5.0.beta.2 (Sass Compiler) [C/C++]
    - npm node-sass versions: └── node-sass@4.7.2

Related

Tickets: #2296

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.