Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packager and live reload not picking up changes in node_modules #11310

Closed
asciiman opened this issue Dec 5, 2016 · 2 comments
Closed

Packager and live reload not picking up changes in node_modules #11310

asciiman opened this issue Dec 5, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@asciiman
Copy link

asciiman commented Dec 5, 2016

Description

I just updated my project from RN 0.34.1 to 0.39.0. We have a shared code base that we use between several projects that we include in the project. When we make changes to that shared codebase we have a watch script which copies the transpiled files over into our project's node_modules folder. With RN 0.34.1 and earlier this would trigger a live reload and the packager would pick up the file changes. Now with 0.39 there is no live reload and if I manually reload it doesn't pick up any of the changes.

DOESN'T RELOAD
Folder to shared code:
project/node_modules/business-logic/lib/constants/session.js

Imported into project via:
import * as sessionConstants from 'business-logic/lib/constants/session';

If I make a change directly in my project it works. And if I make a change in core RN files in node_modules it works okay too.

What is causing this? Is there some new caching of node_modules files somewhere?

Additional Information

  • React Native version: 0.39.0
  • Operating System: MacOS
  • watchman 4.5.0
@Ehesp
Copy link
Contributor

Ehesp commented Dec 5, 2016

Duplicate: #11301

@asciiman
Copy link
Author

asciiman commented Dec 5, 2016

Thanks.

@asciiman asciiman closed this as completed Dec 5, 2016
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants