Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribute to node-sass #13

Open
xzyfer opened this issue Jun 18, 2017 · 6 comments
Open

Contribute to node-sass #13

xzyfer opened this issue Jun 18, 2017 · 6 comments

Comments

@xzyfer
Copy link

xzyfer commented Jun 18, 2017

Hello 馃憢

I'm the maintainer of node-sass. I'd love for us to work together to move some of these changes upstream.

Forking node-sass in this way is going to quickly result in divergence, and may negatively impact the community. For instance we're actively working to overhaul the CLI. Notable we've recently made changes to the watcher integration to allow use to move away from Gaze. Previously this simple wasn't possible to due issue with testing the watcher functionality reliably.

We'd welcome an up-to-date PR for chokidar integration :)

@michaelwayman
Copy link
Owner

This is a marvelous idea. I noticed the issue with chokidar had been open for some time on node-sass and wasn't sure if it was a planned move, hence, node-sass-chokidar.
I would love to make a PR to node-sass and put up a notice that node-sass-chokidar has become deprecated. I find myself a little busy this upcoming week but the change shouldn't take long and I will try to work on it asap. Thanks for reaching out and letting me know you are open to the change @xzyfer

@xzyfer
Copy link
Author

xzyfer commented Jun 19, 2017

Awesome. That old PR has been problematic for a couple reasons

  • the potential for destabilising the watcher module was very high
  • until recently we weren't able to reliably test the watcher logic

We didn't believe the risk of potentially destabilizing the watcher for millions of users was worth the potential benefits. Now that we have confidence in our testing around the watcher the risk of destabilisation is much lower and we're very much open to making the switch if it benefits the wider community.

@Livven
Copy link

Livven commented Jun 25, 2017

Since node-sass compiles .css files in watch mode when using the same input and output folders (see 1, 2) and node-sass-chokidar does not, does this mean that this behavior will change once node-sass-chokidar is merged?

If not then this project should probably continue independently to provide a clean and reliable workaround, especially since it is recommended by Facebook for create-react-app as well.

@RoyTinker
Copy link

RoyTinker commented Dec 12, 2017

@xzyfer, @Livven is right. node-sass-chokidar is a great workaround for some currently unsolved problems in node-sass.

@michaelwayman please consider keeping node-sass-chokidar active at least until the following node-sass bug is resolved: sass/node-sass#1758

@xzyfer
Copy link
Author

xzyfer commented Jun 8, 2018

We're working on node-sass@5 which brings in many of the benefits of node-sass-chokidar.

sass/node-sass#2312

@RDhar
Copy link

RDhar commented Jul 4, 2019

@xzyfer, @Livven is right. node-sass-chokidar is a great workaround for some currently unsolved problems in node-sass.

@michaelwayman please consider keeping node-sass-chokidar active at least until the following node-sass bug is resolved: sass/node-sass#1758

Definitely agree with @RoyTinker in keeping this project running separately. The smallest of changes within this wrapper really lends itself to usability on a day-to-day basis, and is in part due to being decoupled from the sass/node-sass project.

For example, something as simple and standard as compiling before watching has long been a part of node-sass-chokidar, despite being rejected several times on the main project. While this is on the radar for its next release, it's almost been exactly a year since @xzyfer's mention of node-sass@5: which is still yet to be released.

It's understandable that a vastly popular project like sass/node-sass needs time to ensure comprehensive checks are carried out before making any "drastic" changes. I think that's the exact reason why projects such as node-sass-chokidar should continue alongside to continue pushing forward. Thanks for your time and effort, @michaelwayman, really appreciate it! 馃憤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants