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

Transformed JavaScript files from JSX files do not get updated when running 'gulp serve' #263

Closed
yuchuan1 opened this issue Jan 26, 2015 · 5 comments

Comments

@yuchuan1
Copy link

I followed the instruction here https://github.com/yeoman/generator-gulp-webapp/blob/master/docs/recipes/react.md to setup my project. After I edited and saved my react jsx file, the generated scripts under .tmp/scripts did not get overwritten with the new version.
I have to manually stop the server and run gulp serve again for the files to get updated.

@silvenon
Copy link
Member

Are you sure your .jsx file is under the app/scripts directory?

@yuchuan1
Copy link
Author

They are under app/scripts/react directory

@silvenon
Copy link
Member

It works for me. Which version of the generator are you using? Could you share your gulpfile.js?

@yuchuan1
Copy link
Author

I tried the same code on another computer, and it worked. Closing the issue.

@silvenon
Copy link
Member

Hm, I hope you manage to get it working on the first computer. If you want further help, feel free to ask.

mcauser pushed a commit to mcauser/generator-gulp-webapp that referenced this issue Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants