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

debounce is not a function when changing uiengine.config.js #16

Closed
naltatis opened this issue Apr 17, 2018 · 2 comments
Closed

debounce is not a function when changing uiengine.config.js #16

naltatis opened this issue Apr 17, 2018 · 2 comments
Assignees
Labels

Comments

@naltatis
Copy link
Contributor

naltatis commented Apr 17, 2018

uiengine crashes with the following error, when I change the uiengine.config.js file in the root directory of the project.

$ uiengine build --serve --watch
[...]
Watching files...
./node_modules/@uiengine/core/lib/uiengine.js:66
    return debounce('handleFileChange', () => {
           ^

TypeError: debounce is not a function
    at handleFileChange (./node_modules/@uiengine/core/lib/uiengine.js:66:12)
    at FSWatcher.chokidar.watch.on.on.on.filePath (./node_modules/@uiengine/core/lib/uiengine.js:82:206)
    at emitTwo (events.js:126:13)
    at FSWatcher.emit (events.js:214:7)
    at FSWatcher.<anonymous> (./node_modules/chokidar/index.js:199:15)
    at awfEmit (./node_modules/chokidar/index.js:216:9)
    at FSWatcher.<anonymous> (./node_modules/chokidar/index.js:319:9)
    at FSReqWrap.oncomplete (fs.js:153:5)
@dennisreimann dennisreimann self-assigned this Apr 17, 2018
@dennisreimann
Copy link
Owner

Alright, I‘ll fix this with the upcoming release :)

@dennisreimann
Copy link
Owner

Fixed with v0.19.1 – thanks for the hint! (now this part is also covered with tests :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants