jscs-plugin icon indicating copy to clipboard operation
jscs-plugin copied to clipboard

Unnecessary files *_scsslint_tmp*

Open pssupport opened this issue 11 years ago • 4 comments

I use watchers for js files and i see in log this: When editing a file sources.js:

\controllers\admin\sources_scsslint_tmp8654550674363529222.js (added)
\controllers\admin\sources_scsslint_tmp8654550674363529222.js (removed)
\controllers\admin\sources_scsslint_tmp3714095556260675852.js (added)
\controllers\admin\sources_scsslint_tmp3714095556260675852.js (removed)
\controllers\admin\sources_scsslint_tmp428700784657453661.js (added)
\controllers\admin\sources_scsslint_tmp428700784657453661.js (removed)
\controllers\admin\sources_scsslint_tmp1564862144025744592.js (added)
\controllers\admin\sources_scsslint_tmp1564862144025744592.js (removed)
\controllers\admin\sources_scsslint_tmp3129863715501930992.js (added)
\controllers\admin\sources_scsslint_tmp3129863715501930992.js (removed)
***

It is necessary to create temporary files outside the project directory

pssupport avatar Nov 22 '14 16:11 pssupport

Is there anyone alive?

pssupport avatar Jan 18 '15 12:01 pssupport

Hi, Sorry for the late response. The temporary files are used to lint unsaved documents, I will check if it is possible to avoid creating them in the working directory.

idok avatar Jan 18 '15 14:01 idok

Bump :)

rmurcek avatar Nov 28 '16 18:11 rmurcek

Im running into this problem where the file is added to the gulp steam because it gets created in the path, but then it's cleaned up before the validators opens it. Producing the following error and breaking my build.

Error: ENOENT: no such file or directory, lstat
'/apps/myapp/ui-controls/history_scsslint_tmp8656444947622177473.jsx'

Is it possible to specify a different tmp directory?

shanimal avatar May 15 '17 21:05 shanimal