What I don't love about it is that it requires 2 terminal windows locally, one for yarn run start (Electron Forge) and one for yarn run dev (Sass). They can't be combined because they are both watchers (as far as I know).
Getting a webpack configuration for Electron Forge in there that includes Sass is another way forward, but I was striking out getting that to work. We use the Electron Forge Webpack plugin, but maybe aren't using it yet?
If we were, it might offer other benefits like hot reloading, Babel (maybe that would fix optional chaining), and using JSX for mithril. But that's a heaping pile of tooling and this seemed more chill.
This is one way we could get Sass going.
What I don't love about it is that it requires 2 terminal windows locally, one for
yarn run start
(Electron Forge) and one foryarn run dev
(Sass). They can't be combined because they are both watchers (as far as I know).Getting a webpack configuration for Electron Forge in there that includes Sass is another way forward, but I was striking out getting that to work. We use the Electron Forge Webpack plugin, but maybe aren't using it yet?
If we were, it might offer other benefits like hot reloading, Babel (maybe that would fix optional chaining), and using JSX for mithril. But that's a heaping pile of tooling and this seemed more chill.