Add parameter for setting "interval of polling" for Chokidar
xxDukeMCxx opened this issue · comments
Hi,
For better compatibilty with some text editor (see #22 and #14 ), could you add the possiblity of setting by parameter the interval of polling for Chokidar ?
Currently, it seem's that only thoses 3 parameters can be transfert from node-saas-chokidar to the chokidar watcher :
optionnaly/alternatively , cause my issue is with React, perhaps add the dotenv support so node-sass-chokidar can automatically "usePolling" when the React project is set to "usePolling" from .env configuration ( https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#advanced-configuration )
i try it loccaly by just add the
require('dotenv').config();
at beggining of your script, and it work well, so i can set usePolling AND interval by a simple .env file :
thanks for all,
bests regards,
sure
ok this should be fixed in db94130 and in node-sass-chokidar@1.3