refactor(ags): output css to tmp
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
0d63f3ecd8
commit
bc57df4ff7
3 changed files with 1 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,6 +3,4 @@
|
||||||
*node_modules/
|
*node_modules/
|
||||||
*types/
|
*types/
|
||||||
*build/
|
*build/
|
||||||
**/ags/style.css
|
|
||||||
**/ags/flake.lock
|
|
||||||
result*
|
result*
|
||||||
|
|
|
@ -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.
Loading…
Reference in a new issue