Skip to content

Commit

Permalink
feat: respect .env files
Browse files Browse the repository at this point in the history
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
  • Loading branch information
brent-hoover committed Dec 13, 2021
1 parent 2f7fcac commit ec4f0f5
Show file tree
Hide file tree
Showing 4 changed files with 1,554 additions and 170 deletions.
2 changes: 2 additions & 0 deletions .reaction/scripts/run.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// Assumes Node 8.x
import _ from "lodash";
import childProcess from "child_process";
import dotenv from "dotenv";
import Log from "./logger.mjs";
import appSetup from "./appSetup.mjs";

function run() {
dotenv.config();
appSetup();

// Whatever debugging-related command line arguments were passed in to
Expand Down
1 change: 0 additions & 1 deletion imports/plugins/core/core/server/startup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const {
*/
export default function startup() {
const startTime = Date.now();

// This env may be set by the launch script, allowing us to time how long Meteor build/startup took.
if (REACTION_METEOR_APP_COMMAND_START_TIME) {
const elapsedMs = startTime - REACTION_METEOR_APP_COMMAND_START_TIME;
Expand Down
Loading

0 comments on commit ec4f0f5

Please sign in to comment.