{"_id":"@trmediaab/tr-node-sass-chokidar","_rev":"64-98cf8b555db0144707574328ff1030c4","name":"@trmediaab/tr-node-sass-chokidar","dist-tags":{"latest":"1.4.1"},"versions":{"1.4.1":{"name":"@trmediaab/tr-node-sass-chokidar","version":"1.4.1","keywords":["node-sass","chokidar","node-sass-chokidar","libsass","preprocessor"],"author":{"name":"Michael Wayman"},"license":"MIT","_id":"@trmediaab/tr-node-sass-chokidar@1.4.1","maintainers":[{"name":"analysbombayworks","email":"analys@bombayworks.se"},{"name":"jeppan875","email":"jesper.hagglund@trmedia.se"},{"name":"stefan.norman","email":"stefan.norman@bricco.se"},{"name":"slackday","email":"stefan@wonderboys.se"},{"name":"tomhonig","email":"tom.honig@bricco.se"},{"name":"patrik.hultgren","email":"info@patrikhultgren.se"},{"name":"trmediabot","email":"webmaster@travronden.se"},{"name":"jimzezz","email":"jlindh@gmail.com"}],"homepage":"https://github.com/michaelwayman/node-sass-chokidar#readme","bugs":{"url":"https://github.com/michaelwayman/node-sass-chokidar/issues"},"bin":{"node-sass-chokidar":"bin/node-sass-chokidar"},"dist":{"shasum":"937aac392a61cb3d5446ed0580ceafc99861f4db","tarball":"https://registry.npmjs.org/@trmediaab/tr-node-sass-chokidar/-/tr-node-sass-chokidar-1.4.1.tgz","fileCount":13,"integrity":"sha512-adJrHghl59gSTFUPZ7/rNKSVHKO5d3T+vg/FPXvFt69e0neqNa4PW/ggMAp+mKPs8z69dkEE+dvTy5J48KpCNg==","signatures":[{"sig":"MEYCIQDSaC13ACC2Q8mDpxNRKfQa67GA9sTC1q+KbTOu8swmcQIhAPdriXbhZL5696llbH0I2LPVBxUGes/61O//7IDq5Bzv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg5HgCRA9TVsSAnZWagAAbkEP/3cplzdKpNhN91U0Se4q\nKbJPnj7Qj3+OYUqfJTUnzpELh4gs0iOXJ2+urYYs0xePaH6tWCYwVs+9VYR8\nIPj56w+5dCd+A/eyDQ1plI0wfe2x5rUrzophKTMlXDrU4lytzO1GnSORtnUD\nbkufRxbuZqvav+D8jwUwLZ7XksFZmueCJ/vmG8r98bXnC4asvFsNMM3cEcme\n4qagPpNV6QuhHO7v0JAkfh//mNECCxnIB8m02A6QxnKncwTwqSBAz/YztcwS\nwOhttSdTAdxBu+11qs6uDLpzNnFvAUFI3DFRLsovm3lfmZZCPJBw8GUWFQaO\ngy0zUW56dxA2G5efJ4+n6Z/XrmuNOHhJipQsyWzRpSJFy2Ms8bqc10nrMkcu\nNlHlZLEyzGzZkVds2EuFxDCb6f/1i6ditBV8TVd5fAQN10g3I5H9w8/stbPc\nSV3pY94wf0gqo+5WzSsWjuQVoIIVJFb2ul0IeBdtBqOBEWuRWPnRFJmVYcLs\n+3TPW3SRTFXk8dVVUyRjLJL2wSYb8iLDny1o44yoT9LFj9Q7Ap3502kSFiq1\ncWx+JrWUC3ti8TIv5E2kt107eFLxI7QheTGDCd/WuH9FTFKs7fwIp9MKwe3V\nTPQIoHIs4jfku6TiPO1imCabYERpclrVWqta4Bb4ttxXYcuYAtG7fjbQI5ZV\nEMLc\r\n=3ocj\r\n-----END PGP SIGNATURE-----\r\n"},"scripts":{"test":"node_modules/.bin/mocha test/{*,**/**}.js"},"_npmUser":{"name":"jimzezz","email":"jlindh@gmail.com"},"repository":{"url":"git+https://github.com/michaelwayman/node-sass-chokidar.git","type":"git"},"description":"A thin wrapper around node-sass to replicate the --watch --recursive but with chokidar instead of Gaze","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017 Michael Wayman\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"glob":"^7.0.3","meow":"^3.7.0","chokidar":"^2.0.4","get-stdin":"^4.0.1","node-sass":"4.13","sass-graph":"^2.1.1","async-foreach":"^0.1.3","stdout-stream":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","rimraf":"^2.5.2","cross-spawn":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/tr-node-sass-chokidar_1.4.1_1585680864004_0.06188937172476616","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-03-31T18:54:24.003Z","modified":"2026-07-24T16:41:58.065Z","1.4.1":"2020-03-31T18:54:24.152Z"},"bugs":{"url":"https://github.com/michaelwayman/node-sass-chokidar/issues"},"author":{"name":"Michael Wayman"},"license":"MIT","homepage":"https://github.com/michaelwayman/node-sass-chokidar#readme","keywords":["node-sass","chokidar","node-sass-chokidar","libsass","preprocessor"],"repository":{"url":"git+https://github.com/michaelwayman/node-sass-chokidar.git","type":"git"},"description":"A thin wrapper around node-sass to replicate the --watch --recursive but with chokidar instead of Gaze","maintainers":[{"email":"fredrik@d2osthlm.se","name":"fredrikhansson"},{"email":"jlindh@gmail.com","name":"jimzezz"},{"email":"webmaster@trmedia.se","name":"trmediabot"},{"email":"markus.herven@gmail.com","name":"mherven"},{"email":"erik@rcnnt.com","name":"rcnnt-industries"},{"email":"tom.honig@bricco.se","name":"tomhonig"},{"email":"stefan.norman@bricco.se","name":"stefan.norman"},{"email":"ara.malki@trmedia.se","name":"aramalki"},{"email":"stefan.henke@trmedia.se","name":"henke8517"},{"email":"stefan@wonderboys.se","name":"slackday"},{"email":"eric.johansson@trmedia.se","name":"erjo-tr"}],"readme":"# node-sass-chokidar\n\n[![Build Status](https://travis-ci.org/michaelwayman/node-sass-chokidar.svg?branch=master)](https://travis-ci.org/michaelwayman/node-sass-chokidar)\n\nA thin wrapper around node-sass executable to use chokidar instead of Gaze when watching files.\n\nAll the functionality of the node-sass executable is still intact, the only difference being chokidar instead of Gaze for watching files.\n\nWhy? Because Gaze in docker and various virtual machines uses a lot of resources whereas chokidar does not.\nRead about the advantages of [chokidar](https://github.com/paulmillr/chokidar)\n\nWhen using `node-sass --watch` in docker for mac you will get really high CPU usage with com.docker.hyperkit and com.docker.osxfs (I've seen reports of up to 300%).\nThe cause of this is the node-sass dependency on [Gaze](https://github.com/shama/gaze). This package fixes this issue by using chokidar with node-sass instead of Gaze.\n\n## Examples\n\n```\n# Build a directory\nnode-sass-chokidar ./src -o ./build\n\n# Watch a directory:\nnode-sass-chokidar ./src -o ./build --watch\n\n# Watch a directory, don't perform an initial build until a change has occured:\nnode-sass-chokidar ./src -o ./build --watch --skip-initial\n\n# Watch a directory, include node_modules import path so we can import from there e.g. @import 'bulma/bulma.sass';\nnode-sass-chokidar --include-path ./node_modules/ ./src -o ./src --watch\n\n# Build a file\nnode-sass-chokidar ./src/index.scss ./build/index.css\n\n# Watch a single file and don't perform an initial build until a change has occured:\nnode-sass-chokidar ./src/index.scss ./build/index.css --watch --skip-initial\n```\n\n____\n\n## Options\n```\n    -w, --watch                Watch a directory or file,\n    -m, --match-regex          Only watches files in a directory that match the regular expression,\n    -o, --output               Output directory,\n    -x, --omit-source-map-url  Omit source map URL comment from output,\n    -i, --indented-syntax      Treat data from stdin as sass code (versus scss),\n    -q, --quiet                Suppress log output except on error,\n    -v, --version              Prints version info,\n    --ext,                     Custom output file extension,\n    --skip-initial             Skips initial build when passing the --watch flag,\n    --output-style             CSS output style (nested | expanded | compact | compressed),\n    --indent-type              Indent type for output CSS (space | tab),\n    --indent-width             Indent width; number of spaces or tabs (maximum value: 10),\n    --linefeed                 Linefeed style (cr | crlf | lf | lfcr),\n    --source-comments          Include debug info in output,\n    --source-map               Emit source map,\n    --source-map-contents      Embed include contents in map,\n    --source-map-embed         Embed sourceMappingUrl as data URI,\n    --source-map-root          Base path, will be emitted in source-map as is,\n    --include-path             Path to look for imported files,\n    --follow                   Follow symlinked directories,\n    --precision                The amount of precision allowed in decimal numbers,\n    --error-bell               Output a bell character on errors,\n    --importer                 Path to .js file containing custom importer,\n    --functions                Path to .js file containing custom functions,\n    --use-polling              Watch using polling (chokidar's polling option),\n    --polling-interval         Interval of filesystem polling if polling is being used,\n    --help                     Print usage info\n```\n\n## Contributing\n\nFeel free.\n","readmeFilename":"README.md"}