Skip to content

magic serverRequire #10

@dereke

Description

@dereke
server.run(function() {
  serverRequire('fs')
})

is all a bit too magic it also trips up linters because they don't know serverRequire exists. Maybe serverRequire should become this.serverRequire('fs') or become a parameter passed into the run callback.

Anyway some way of deglobalising it would be good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions