zertosh / errorify

Browserify plugin to write failed build error messages to the output file
75 stars 2 forks source link

incompatible with watchify@3.5.0+ #7

Open m59peacemaker opened 8 years ago

m59peacemaker commented 8 years ago

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.

m59peacemaker commented 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

zertosh commented 8 years ago

I actively use watchify@3.6.1 with errorify and it works fine. Is this still an issue?

imcodetolive commented 8 years ago

Same problem here.

watchify v3.7.0 browserify v13.1.0

Thanks

serapath commented 7 years ago

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"]
      }]
    ]
  }
zodman commented 7 years ago

this problem still!