michaelwayman / node-sass-chokidar

A thin wrapper around node-sass to replicate the --watch using chokidar instead of Gaze

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use chokidar with webpack loader ?

ylacaute opened this issue · comments

Hi, I am trying to use chokidar without CLI but it is not working :

{
  loader: "sass-loader",
  options: {
    implementation: require("node-sass-chokidar")
  }
}

Error : Cannot find module 'node-sass-chokidar'
Package.json : "node-sass-chokidar": "^1.3.4"

With classic "node-sass" it is working :

{
  loader: "sass-loader",
  options: {
    implementation: require("node-sass")
  }
}

Is that the expected behavior ?