Open m59peacemaker opened 8 years ago
It seems like watchify introduced a breaking change. I'm not sure what to look for, though. https://github.com/substack/watchify/commits/v3.5.0
I actively use watchify@3.6.1 with errorify and it works fine. Is this still an issue?
Same problem here.
watchify v3.7.0 browserify v13.1.0
Thanks
I have the same problem watchify v3.9.0 browserify v13.3.0
instead the terminal logs:
errorify: SyntaxError: /home/me/workspace/example/src/app.js: Unexpected token, expected ; (3:3) while parsing file: /home/me/workspace/example/src/app.js
My package.json
script is
watchify src/index.js -vd -o build/app.bundle.js
and I have some transforms being applied
"browserify": {
"transform": [
["babelify", {
"sourceMapsAbsolute": false,
"sourceMaps": true,
"plugins": [
["yo-yoify"],
["fast-async", {
"runtimePatten": null,
"compiler": {
"promises": true,
"es7": true,
"noRuntime": true,
"wrapAwait": true
}
}]
],
"presets": ["es2015"]
}]
]
}
this problem still!
errorify
works with watchify@3.4.0. Using watchify 3.5-3.7, when there is an error, nothing happens at all. No bundle file is created, or if the file already exists, nothing is written to it.