mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 03:31:55 +01:00
Added note to the docs regarding WEBPACK_DEV_SERVER_POLLING
This commit is contained in:
parent
da0b4d7911
commit
ea55687171
1 changed files with 6 additions and 1 deletions
|
@ -37,7 +37,12 @@ npm install
|
|||
npm start
|
||||
```
|
||||
|
||||
Build a production package for distribution.
|
||||
The build process will watch for changes to the filesystem, rebuild and autoreload the editor. However note this from the webpack-dev-server docs
|
||||
|
||||
> webpack uses the file system to get notified of file changes. In some cases this does not work. For example, when using Network File System (NFS). Vagrant also has a lot of problems with this.
|
||||
Snippet from <https://webpack.js.org/configuration/dev-server/#devserver-watchoptions->
|
||||
|
||||
To enable polling add `export WEBPACK_DEV_SERVER_POLLING=1` to your enviroment.
|
||||
|
||||
```
|
||||
npm run build
|
||||
|
|
Loading…
Reference in a new issue