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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CLI watcher and mtime-aware updater #264

Closed
nex3 opened this Issue Mar 22, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@nex3
Contributor

nex3 commented Mar 22, 2018

Dart Sass should support watching and updating flags similar to Ruby Sass:

  • Support source:target syntax for compiling multiple files.
  • Support compiling all non-partial stylesheets in a directory with source:target.
  • Add an --update flag that tells Sass to recompile only those files whose imports have been modified since the target was generated.
  • Add a --watch flag to update files like --update, then continue to watch the sources and anything they import for changes and update the targets as necessary.
  • Add a --poll flag to tell --watch to use a polling watcher rather than the native OS's watcher.
  • Add a --stop-on-error flag to tell Sass to exit as soon as an error is encountered rather than waiting for all compilations to finish.

@nex3 nex3 added this to the Usability Equivalence milestone Mar 23, 2018

nex3 added a commit to sass/sass-site that referenced this issue Mar 30, 2018

Temporarily stop mentioning sass --watch
This is not yet supported by Dart Sass (sass/dart-sass#264) and the
documentation is confusing users.

jina added a commit to sass/sass-site that referenced this issue Mar 30, 2018

Temporarily stop mentioning sass --watch (#211)
This is not yet supported by Dart Sass (sass/dart-sass#264) and the
documentation is confusing users.
@tassiogoncalves

This comment has been minimized.

tassiogoncalves commented May 10, 2018

Any prediction of when the watch command will be implemented?

@nex3

This comment has been minimized.

Contributor

nex3 commented May 20, 2018

I'm actively working on it, but I have other stuff on my plate as well, so I don't have a concrete timeline.

nex3 added a commit that referenced this issue May 20, 2018

@nex3

This comment has been minimized.

Contributor

nex3 commented May 20, 2018

Slight change of plans: rather than having --update enable a different type of input argument (source:destination), I now intend to have source:destination arguments work in all situations. This means that --update just enables the behavior of only recompiling if necessary. In addition, it makes a --force flag unnecessary, since it's now the default behavior to compile all files. I'll update the checklist in the original post accordingly.

nex3 added a commit that referenced this issue May 20, 2018

nex3 added a commit that referenced this issue May 20, 2018

nex3 added a commit that referenced this issue May 20, 2018

nex3 added a commit that referenced this issue May 20, 2018

nex3 added a commit that referenced this issue May 20, 2018

nex3 added a commit that referenced this issue May 22, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 22, 2018

nex3 added a commit that referenced this issue May 22, 2018

nex3 added a commit that referenced this issue May 22, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 22, 2018

nex3 added a commit that referenced this issue May 24, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 24, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 24, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue May 28, 2018

Add an --update flag
Partially addresses #264

nex3 added a commit that referenced this issue Jun 9, 2018

Add a --watch command
Partially addresses #264

nex3 added a commit that referenced this issue Jun 28, 2018

Add a --poll option
Partially addresses #264.

nex3 added a commit that referenced this issue Jun 29, 2018

Add a --poll option (#390)
Partially addresses #264.

nex3 added a commit that referenced this issue Jun 29, 2018

@nex3 nex3 closed this in #391 Jun 30, 2018

nex3 added a commit that referenced this issue Jun 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment