Closed Bug 1527723 Opened 6 years ago Closed 6 years ago

Explore making lib-loader have some better defaults

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bstack, Assigned: bstack)

Details

I would like it if I could easily do

const monitor = require('./main')('monitor');

in modules that don't get set up by lib-loader. The only part stopping me at the moment afaict is that we need to pass in process and env manually. I would like those to just default to the proper thing.

Assignee: nobody → bstack
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.