mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 14:07:33 +00:00
Added note to the docs regarding WEBPACK_DEV_SERVER_POLLING
This commit is contained in:
@@ -37,7 +37,12 @@ npm install
|
|||||||
npm start
|
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
|
npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user