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

Watchify does not recognise changes with transform (babelify) #372

Open
kontur opened this issue Nov 27, 2019 · 0 comments
Open

Watchify does not recognise changes with transform (babelify) #372

kontur opened this issue Nov 27, 2019 · 0 comments

Comments

@kontur
Copy link

kontur commented Nov 27, 2019

With a "stripped" package.json looking like this:

{
  …
  "scripts": {
    "js": "watchify src/app.js -t [ babelify --presets [ @babel/preset-env ] ] -o assets/js/app.js"
  },
  "devDependencies": {
    "@babel/cli": "^7.7.4",
    "@babel/core": "^7.7.4",
    "@babel/preset-env": "^7.7.4",
    "babelify": "^10.0.0",
    "watchify": "^3.11.1"
  }
}

…watchify runs fine once, but no changes to src/app.js or any included dependencies are triggering a new build. The required dependencies in the app are minimal (just a scaffold atm). It just goes into limbo.

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

1 participant