Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Reload Brunch Config on Plugin config file change? #1803

Open
mattly opened this issue Apr 11, 2018 · 5 comments
Open

Reload Brunch Config on Plugin config file change? #1803

mattly opened this issue Apr 11, 2018 · 5 comments
Labels

Comments

@mattly
Copy link

mattly commented Apr 11, 2018

Description

I would like to reload the brunch config when a config file for a plugin changes. For example, I am using tailwindcss, a postcss plugin, and would like to recompile my css when I change tailwind.js

Expected behavior

Brunch should know about external configuration sources and reload the config when they change.

Actual behavior

I have to restart the brunch watcher for the tailwind config to get reloaded.

@thijskaspers
Copy link

I'm looking for the same thing, recompile CSS when tailwind config changes. I can add the tailwind config file to the watcher, but that won't trigger a CSS compile. Did you manage to find a solution in the meantime?

@mattly
Copy link
Author

mattly commented May 16, 2019

My solution was to find another build tool and another css tool.

@thijskaspers
Copy link

Guess I'll follow that route as well. Brunch looks promising and easy to configure, but the project seems dead.

Just out of curiosity, did you go for Webpack? Or maybe Gulp

@mattly
Copy link
Author

mattly commented May 17, 2019

Sass, and either Hugo for static sites or stuff to go alongside ClojureScript.

I wouldn't touch Gulp or Webpack unless gobs of money were involved.

@paulmillr paulmillr reopened this Aug 7, 2021
@jgauna
Copy link

jgauna commented Jan 6, 2023

Any partial solution for this? I've been stucked for 2 days. The first time Brunch runs the Tailwind styles are applied but if I change some HTML file the styles are gone 👎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants