mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
12 lines
315 B
JavaScript
Executable File
12 lines
315 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
import process from 'node:process';
|
|
import { compileAllStyles } from './lib/compile_css.mjs';
|
|
|
|
const fileWatcher = await compileAllStyles({ shouldWatch: process.argv?.includes('--watch') });
|
|
|
|
process.on('SIGTERM', () => {
|
|
console.info('SIGTERM signal received.');
|
|
fileWatcher?.close();
|
|
});
|