Skip to content

HMR breaks when project is run out of a folder starting with "." #3156

@dt1900

Description

@dt1900
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Following the README.md instructions to run a next.js project, but create the project's folder in a subfolder which starts with a "."

Changing the text in index.js should initiate a recompile which is reflected in the browser.

Current Behavior

Next never recompiles after change are made to index.js. Must ctrl+c to quit, then run npm run dev again.

Steps to Reproduce (for bugs)

Please review video here: https://www.youtube.com/watch?v=HfOiCxw6bKw&feature=youtu.be
note that the project is running out a folder ".nosync" (because of this: https://discussions.apple.com/thread/6811420?start=0&tstart=0)

Context

Simply trying out next. basic HMR is not working correctly.

Your Environment

Tech Version
next ^4.1.3
node 8.7.0
OS OSX 10.13
browser Chrome 61
etc npm 5.4.2

Metadata

Metadata

Assignees

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