simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
180 stars 31 forks source link

Not possible to build firebase app when serving emulators #32

Closed simondotm closed 1 year ago

simondotm commented 3 years ago

build target attempts to clean the functions app dist folder before building but access will be denied if the emulators are running as they have a watch on the dist assets

simondotm commented 3 years ago

One workaround for this that's working for me is to build with --deleteOutputPath=false This allows us to keep the emulators running in the background and do incremental builds. Should either document this or incorporate it more deeply etc.

simondotm commented 1 year ago

Gah. deleteOutputPath isn't a feature of the @nrwl/js:tsc executor which I'm using in the latest plugin version. And the equivalent clean option only makes an appearance in Nx 14.5.x

simondotm commented 1 year ago

Linking to #95