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

Already on GitHub? Sign in to your account

Additional Watch Directories for mix grf.server #11

Merged

Conversation

entone
Copy link
Contributor

@entone entone commented Mar 21, 2024

allows a configuration setting for additional_watch_directories which is useful for running asset compilation when running mix grf.server and live reloading

Used like this

config :griffin_ssg,
  additional_watch_directories: ["assets/css"],
  hooks: %{
    before: [
      fn _ ->
        DartSass.install_and_run(:default, ["--no-source-map", "--style=compressed"])
      end
    ],
    after: []
  }

… is useful for running asset compilation when running mix grf.server and live reloading
@goncalotomas goncalotomas merged commit 455c688 into elixir-griffin:main Mar 21, 2024
1 check passed
@goncalotomas
Copy link
Contributor

Thank you for making mix grf.server better! 🙂

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

Successfully merging this pull request may close these issues.

2 participants