-
Notifications
You must be signed in to change notification settings - Fork 181
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
Watchify only watching single file - babel + react #229
Comments
your code looks reasonable. can you provide a repro case? |
Hi @zertosh thanks for getting back to me. What else would be helpful for reproduction? Added package.json with version info if that helps |
Greetings. I'm having the same issue (only triggers from entry point) with watchify I'm basically using the same setup (watchify + babel), but via the CLI.
Temp fix is to force watchify to 3.2.1:
(I have other npm scripts watching files via watch v0.16.0, though I believe this should not conflict.) I can provide more information if needed. |
What would be ideal is a repo I can clone with a minimum amount of code that I can run that exhibits the problem. |
@jbmusso Looks like I still have the issue on 3.2.1 |
@melbourne2991 Can you provide me with a way to reproduce the issue? I don't know why 3.2.2 would cause what you're describing. |
@zertosh grunt.initConfig({ $ grunt browserify watch Downgrading watchify to 3.2.1 fixed the issue |
@igordezky Can you open a new issue with steps/repo for me to reproduce? |
@zertosh, My issue appears to be related to grunt-browserify and recent watchify. The issue is fixed by updating to grunt-browserify 4.0.0, which contains jmreidy/grunt-browserify#341 My issue is resolved, sorry for the confusion |
@igordezky No worries |
I'm trying to use watchify and it only seems to trigger an update if I edit
/frontend/src/js/index.js
package json
{
"name": "Core",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "Proprietary",
"devDependencies": {
"gulp-sourcemaps": "^1.5.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"babelify": "^6.1.2",
"reactify": "^1.1.1",
"watchify": "^3.2.1",
"gulp-babel": "^5.1.0",
"gulp-concat": "^2.5.2",
"gulp-sass": "^2.0.1"
},
"dependencies": {
"browserify": "^10.2.3"
}
}
The text was updated successfully, but these errors were encountered: