Compare commits

..

1 Commits

Author SHA1 Message Date
da82968f82 Update backend/watcher.js 2026-01-14 11:36:15 +00:00

View File

@ -2,7 +2,7 @@ const chokidar = require('chokidar');
const { exec } = require('child_process'); const { exec } = require('child_process');
const nodemon = require('nodemon'); const nodemon = require('nodemon');
const nodeEnv = 'dev_stage'; const nodeEnv = process.env.NODE_ENV || 'dev_stage';
const childEnv = { ...process.env, NODE_ENV: nodeEnv }; const childEnv = { ...process.env, NODE_ENV: nodeEnv };
const migrationsWatcher = chokidar.watch('./src/db/migrations', { const migrationsWatcher = chokidar.watch('./src/db/migrations', {