oliverwoodings / texwatch

Utility for watching and building LaTeX projects
0 stars 0 forks source link

Default temp dictionary location requires sudo permissions #1

Closed KwanMan closed 8 years ago

KwanMan commented 9 years ago

The default location for the temp dictionary requires sudo permissions for it to be created

If run without sudo it currently throws _Potentially unhandled rejection [2] Error: EACCES, open '/usr/local/lib/nodemodules/texwatch/lib/.texwatchtmpdict'

oliverwoodings commented 9 years ago

Need to make the tmp file be created in the project directory, not the executing directory (i.e. don't use __dirname)