serverless / serverless/examples

Nuxt serverless example is watching entire system

Open
#562 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.5k
Forks
4.4k
Avg merge
2h 55m
Merged PRs (30d)
3

Description

The nuxtjs example, when you run npm run dev it's failing because EMFILE: too many open files, watch - it's monitoring the whole home directory. I've tried to add into nuxt's config file:

nuxt.config.js

build: {
  watch: ['client/']
}

But this also isn't helping.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm run dev in the Nuxt example and inspect nuxt.config.js, including the attempted build.watch setting. Trace why the watcher includes the home directory; done means the example starts without EMFILE: too many open files, watch and watches only the intended project files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nuxtjs
Domain
frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.