Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: respect .env files #441

Merged
merged 3 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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