Skip to content

Commit

Permalink
make chokidar use polling to detect file changes; see: paulmillr/chok…
Browse files Browse the repository at this point in the history
  • Loading branch information
hennr committed Sep 10, 2018
1 parent 20f840f commit c1b890d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
* webfonts via package.json?
* dev reactjs dependency in the dev env
* hot reload works only once
* do I need babel for full JSX support?
2 changes: 1 addition & 1 deletion src/main/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"bundle": "parcel build index.js --no-cache --out-dir ../../../target/classes/static/ --out-file bundle --public-url /",
"watch": "parcel watch index.js --out-dir ../../../target/classes/static/ --out-file bundle --public-url /"
"watch": "CHOKIDAR_USEPOLLING=true parcel watch index.js --out-dir ../../../target/classes/static/ --out-file bundle --public-url /"
},
"license": "GPL-3.0+",
"dependencies": {
Expand Down

0 comments on commit c1b890d

Please sign in to comment.