Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Improve code reloading with unbundled JS functions in multiple files #167

@mjm

Description

@mjm

- Do you want to request a feature or report a bug?

Feature (maybe a bug depending on currently intended behavior)

- What is the current behavior?

netlify dev with unbundled functions does not seem to reload code for local require()'d Node modules, but it would be nice if it did! 😄

I'm not sure, but I think it reloads the main .js file with the handler export, but if you factor out code into separate files, then you lose the reloading behavior and have to restart netlify dev to see your changes. Especially for Gatsby sites (which take a while to process), this really slows down development compared to using webpack with netlify-lambda.

- Please mention your node.js, and operating system version.

Node 11.13.0, macOS 10.14.4

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