Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

feat: add watch mode #162

Merged
merged 4 commits into from
Feb 4, 2021
Merged

feat: add watch mode #162

merged 4 commits into from
Feb 4, 2021

Conversation

erezrokah
Copy link
Contributor

Fixes #96

Opening as draft as I have some questions/clarifications, I'll add those as comments on the PR.

README.md Show resolved Hide resolved
index.js Show resolved Hide resolved
lib/config.js Show resolved Hide resolved
lib/config.js Show resolved Hide resolved
next-on-netlify.js Outdated Show resolved Hide resolved
@erezrokah erezrokah added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Feb 1, 2021
50
);

program
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use an option (e.g. --watch) instead of a command, but with a command we can add specific watch configuration (e.g. watch --path a --path b)

index.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
@erezrokah erezrokah marked this pull request as ready for review February 3, 2021 10:00
Copy link
Contributor

@lindsaylevine lindsaylevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is neat, finally got around to sharing some thoughts!

README.md Show resolved Hide resolved
index.js Show resolved Hide resolved
index.js Show resolved Hide resolved
lib/helpers/getNextSrcDir.js Outdated Show resolved Hide resolved
next-on-netlify.js Show resolved Hide resolved
@lindsaylevine
Copy link
Contributor

how does this PR fit in? do you have thoughts on it? #126 (comment)

i was deferring to finn but finn's been pretty busy

@erezrokah
Copy link
Contributor Author

how does this PR fit in? do you have thoughts on it? #126 (comment)

I'll comment on the PR. Running the Next.js dev only gives you the sense it's working - but you're not really simulating the functions/redirects Next on Netlify generates (see my comment https://github.com/netlify/next-on-netlify/pull/162/files#r568023419)

Copy link
Contributor

@lindsaylevine lindsaylevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!!

@erezrokah erezrokah merged commit 7f01dd3 into main Feb 4, 2021
@erezrokah erezrokah deleted the feat/add_watch_mode branch February 4, 2021 15:47
lindsaylevine added a commit that referenced this pull request Feb 25, 2021
- add support for background functions in api pages only ([#171](#171))
- remove next as peer dependency ([#167](#167))
- add watch mode ([#162](#162))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: add watch mode
3 participants