refactor(ags): output css to tmp
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-13 14:40:44 -05:00
parent 0d63f3ecd8
commit bc57df4ff7
3 changed files with 1 additions and 3 deletions

2
.gitignore vendored
View file

@ -3,6 +3,4 @@
*node_modules/ *node_modules/
*types/ *types/
*build/ *build/
**/ags/style.css
**/ags/flake.lock
result* result*

View file

@ -5,7 +5,7 @@ import { execAsync, monitorFile } from 'resource:///com/github/Aylur/ags/utils.j
const watchAndCompileSass = () => { const watchAndCompileSass = () => {
const reloadCss = () => { const reloadCss = () => {
const scss = `${App.configDir}/scss/main.scss`; const scss = `${App.configDir}/scss/main.scss`;
const css = `${App.configDir}/style.css`; const css = '/tmp/ags/style.css';
execAsync(`sassc ${scss} ${css}`).then(() => { execAsync(`sassc ${scss} ${css}`).then(() => {
App.resetCss(); App.resetCss();

Binary file not shown.