From 39c9ab593394ca7f6017408d5f06e9da619e4065 Mon Sep 17 00:00:00 2001 From: Dmitry Molotkov Date: Wed, 6 Mar 2019 17:53:27 +0300 Subject: [PATCH] chore: don`t ignore .nuxtignore (#5169) --- .gitignore | 1 + test/unit/basic.generate.test.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c8e59b2a3b..356b4b7b35 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ distributions/*/LICENSE # Other .nuxt* +!.nuxtignore .cache # Dist folders diff --git a/test/unit/basic.generate.test.js b/test/unit/basic.generate.test.js index d391efe5e5..8ff311b7a7 100644 --- a/test/unit/basic.generate.test.js +++ b/test/unit/basic.generate.test.js @@ -25,7 +25,7 @@ describe('basic generate', () => { pathsBefore = listPaths(nuxt.options.rootDir) // Make sure our check for changed files is really working - changedFileName = resolve(nuxt.options.generate.dir, '..', '.nuxt-generate-changed') + changedFileName = resolve(nuxt.options.generate.dir, '..', '.nuxt-generate', '.nuxt-generate-changed') nuxt.hook('generate:done', () => { writeFileSync(changedFileName, '') })