Closed zeke closed 8 years ago
npm run style
just runs the linter to ensure a consistent code style. Doing npm install
and npm start
should be sufficient for running the app. The electron-prebuilt-compile package should be compiling the LESS into CSS on the fly. 😕
If you comment out mainWindow.webContents.openDevTools()
in src/main.js and run the app, do you see any errors in the console?
No errors, neither in the browser window nor the main process.
Any thoughts on this one @probablycorey?
If you change something in App.less and reload the app (have the developer tools open and focused, hit Cmd-R), do you get styles?
I always resort to rm -rf node_modules && npm install
for problems like this.
rm -rf node_modules && npm install
good call! 🎉
:wave:
I saw the awesome new screenshot on the readme, and wanted to give this thing another go. It looks like the styles are not working though:
I tried running
npm run style && npm start
, but it didn't seem to have an effect. Am I doing it wrong?